oga-ui 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +251 -0
  2. package/avatar/index.css +2 -0
  3. package/avatar/index.es.ts +1318 -0
  4. package/avatar/index.umd.ts +2 -0
  5. package/editor/index.css +2 -0
  6. package/editor/index.es.ts +31668 -0
  7. package/editor/index.umd.ts +81 -0
  8. package/form/index.css +2 -0
  9. package/form/index.es.ts +28 -0
  10. package/form/index.umd.ts +1 -0
  11. package/form-item/index.css +2 -0
  12. package/form-item/index.es.ts +28 -0
  13. package/form-item/index.umd.ts +1 -0
  14. package/iconfont/index.css +2 -0
  15. package/iconfont/index.es.ts +86 -0
  16. package/iconfont/index.umd.ts +1 -0
  17. package/image-upload/index.css +2 -0
  18. package/image-upload/index.es.ts +8003 -0
  19. package/image-upload/index.umd.ts +12 -0
  20. package/index.css +2 -0
  21. package/index.es.ts +38553 -0
  22. package/index.umd.ts +88 -0
  23. package/input/index.css +2 -0
  24. package/input/index.es.ts +76 -0
  25. package/input/index.umd.ts +1 -0
  26. package/layout/index.css +2 -0
  27. package/layout/index.es.ts +104 -0
  28. package/layout/index.umd.ts +1 -0
  29. package/package.json +17 -0
  30. package/page/index.css +2 -0
  31. package/page/index.es.ts +3232 -0
  32. package/page/index.umd.ts +5 -0
  33. package/paging/index.css +2 -0
  34. package/paging/index.es.ts +55 -0
  35. package/paging/index.umd.ts +1 -0
  36. package/progress/index.css +2 -0
  37. package/progress/index.es.ts +36 -0
  38. package/progress/index.umd.ts +1 -0
  39. package/section/index.css +2 -0
  40. package/section/index.es.ts +41 -0
  41. package/section/index.umd.ts +1 -0
  42. package/table/index.css +2 -0
  43. package/table/index.es.ts +3517 -0
  44. package/table/index.umd.ts +5 -0
  45. package/unsaved/index.css +2 -0
  46. package/unsaved/index.es.ts +3161 -0
  47. package/unsaved/index.umd.ts +5 -0
package/index.umd.ts ADDED
@@ -0,0 +1,88 @@
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?module.exports=t(require(`vue`),require(`vue-router`)):typeof define==`function`&&define.amd?define([`vue`,`vue-router`],t):(e=typeof globalThis<`u`?globalThis:e||self,e.index=t(e.Vue,e.vue_router))})(this,function(e,t){var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),l=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t&&r(n,Symbol.toStringTag,{value:`Module`}),n},u=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},d=(e,t,n,i)=>{i&&(r(e,Symbol.toStringTag,{value:`Module`}),n&&r(n,Symbol.toStringTag,{value:`Module`})),u(e,t,`default`),n&&u(n,t,`default`)};e=((e,t,i)=>(i=e==null?{}:n(o(e)),u(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)))(e);var f={class:`oga-material-label`},p=(0,e.defineComponent)({inheritAttrs:!1,__name:`index`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-input`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,f,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),(0,e.createSlots)({_:2},[(0,e.useSlots)().append?{name:`append`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`append`,{},void 0,!0)]),key:`0`}:void 0,(0,e.useSlots)().prepend?{name:`prepend`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`prepend`,{},void 0,!0)]),key:`1`}:void 0,(0,e.useSlots)().default?{name:`default`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`default`,{},void 0,!0)]),key:`2`}:void 0,(0,e.useSlots)().suffix?{name:`suffix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`suffix`,{},void 0,!0)]),key:`3`}:void 0,(0,e.useSlots)().suffix?{name:`suffix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`suffix`,{},void 0,!0)]),key:`4`}:void 0]),1040,[`modelValue`,`class`,`placeholder`])],2)}}}),m=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},h=m(p,[[`__scopeId`,`data-v-35ebf555`]]),g={install(e){e.component(`OgaInput`,h)}},_={class:`oga-material-label`},v=m((0,e.defineComponent)({inheritAttrs:!1,__name:`tag`,props:(0,e.mergeModels)({modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:``},size:{type:String,default:``},label:{type:String,default:``},borderless:{type:Boolean,default:!1},shrink:{type:Boolean,default:!0},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-input-tag`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,_,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),(0,e.createSlots)({_:2},[(0,e.useSlots)().tag?{name:`tag`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`tag`,{},void 0,!0)]),key:`0`}:void 0,(0,e.useSlots)().default?{name:`default`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`default`,{},void 0,!0)]),key:`1`}:void 0,(0,e.useSlots)().prefix?{name:`prefix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`prefix`,{},void 0,!0)]),key:`2`}:void 0,(0,e.useSlots)().suffix?{name:`suffix`,fn:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`suffix`,{},void 0,!0)]),key:`3`}:void 0]),1040,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-f80953dc`]]),y={install(e){e.component(`OgaInputTag`,v)}},b={key:0},x={key:1,class:`oga-section-action`},S={key:2,class:`oga-section-description`},C={key:3,class:`oga-section-content`},w=(0,e.defineComponent)({__name:`index`,props:{heading:{type:String,default:``},description:{type:String,default:``},borderRadius:{type:Number,default:0}},setup(t){return(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`fieldset`,{class:(0,e.normalizeClass)([`oga-section`,t.description?`has-description`:``]),style:(0,e.normalizeStyle)(t.borderRadius>0?`border-radius: ${t.borderRadius}px`:``)},[t.heading?((0,e.openBlock)(),(0,e.createElementBlock)(`legend`,b,(0,e.toDisplayString)(t.heading),1)):(0,e.createCommentVNode)(`v-if`,!0),n.$slots.header?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,x,[(0,e.renderSlot)(n.$slots,`header`)])):(0,e.createCommentVNode)(`v-if`,!0),t.description?((0,e.openBlock)(),(0,e.createElementBlock)(`p`,S,(0,e.toDisplayString)(t.description),1)):(0,e.createCommentVNode)(`v-if`,!0),n.$slots.default?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,C,[(0,e.renderSlot)(n.$slots,`default`)])):(0,e.createCommentVNode)(`v-if`,!0)],6))}}),T={install(e){e.component(`OgaSection`,w)}};let E=e=>typeof e==`function`&&/\{\s*\[native code]\s*}/.test(e.toString()),D=e=>!E(e),O=e=>e==null||e.trim().length===0,ee=e=>!O(e),k=e=>typeof e==`number`?Number.isInteger(e)&&e>0:typeof e==`string`?/^[1-9]\d*$/.test(e):!1,te=e=>{let t=e.lastIndexOf(`.`);return t===-1?``:e.substring(t+1).toLowerCase()};var A={1:new Set([`bmp`,`jpg`,`jpeg`,`png`,`tif`,`gif`,`pcx`,`tga`,`exif`,`fpx`,`svg`,`psd`,`cdr`,`pcd`,`dxf`,`ufo`,`eps`,`ai`,`raw`,`wmf`,`webp`,`sketch`]),2:new Set([`vob`,`mpg`,`avi`,`mp4`,`mkv`,`mov`]),3:new Set([`pdf`,`doc`,`docx`]),4:new Set([`zip`,`7z`,`rar`])};let ne=e=>{let t=te(e);for(let[e,n]of Object.entries(A))if(n.has(t))return Number(e);return 0},re=(e,t=`yyyy-MM-dd hh:mm:ss`)=>{let n={y:e.getFullYear(),M:e.getMonth()+1,d:e.getDate(),h:e.getHours(),m:e.getMinutes(),s:e.getSeconds(),S:e.getMilliseconds()};return t.replace(/y+|M+|d+|h+|m+|s+|S/g,e=>{let t=e[0],r=String(n[t]);return e.length===1?r:r.padStart(e.length,`0`)})},ie=(e,t)=>re(new Date(e),t||`yyyy-MM-dd`),ae=(e,t)=>re(new Date(e),t||`yyyy-MM-dd hh:mm:ss`),oe=e=>{let t=[``,`K`,`M`,`B`,`T`],n=0;for(;e>=1e3&&n<t.length-1;)e/=1e3,n++;return e.toFixed(1).replace(/\.0$/,``)+t[n]},se=e=>{try{return e.toLocaleString(`en-US`)}catch{return e}},ce=e=>e.replace(/^(.)(.*)(.)$/,(e,t,n,r)=>t+`*`.repeat(n.length>5?5:n.length)+r),le=e=>{if(!e||e.length<3)return e;let t=e.length,n=Math.max(1,Math.floor(t/3)),r=Math.floor((t-n)/2);return e.slice(0,r)+`*`.repeat(n)+e.slice(r+n)};function ue(e){if(!e)return``;let[t,n]=e.split(`@`);return t?ce(t)+`@`+n:e}var de={class:`oga-layout`},fe={key:0,class:`oga-layout-aside-header`},pe={class:`oga-layout-aside-content`},me={key:1,class:`oga-layout-aside-footer`},he=(0,e.defineComponent)({__name:`index`,props:{isRouterView:{type:Boolean,default:()=>!0},copyright:{type:String,default:()=>``},asideCss:{type:String,default:()=>``},asideTop:{type:Number,default:()=>0},asideBottom:{type:Number,default:()=>0},asideWidth:{type:Number,default:()=>200},foldIcon:{type:String,default:()=>`el-icon-s-fold`},foldIconHeight:{type:Number,default:()=>60},maskBackground:{type:String,default:()=>``},headerColor:{type:String,default:()=>`#030b2c`},footerIndent:{type:Number,default:()=>200}},emits:[`aside`],setup(t,{emit:n}){let r=(0,e.ref)(new Date().getFullYear()),i=(0,e.ref)({}),a=(0,e.ref)(``),o=(0,e.ref)(``),s=(0,e.ref)(``),c=(0,e.ref)(``),l=(0,e.ref)({}),u=(0,e.useSlots)(),d=(0,e.ref)(!1),f=t,p={};f.asideTop>0&&(p.top=`${f.asideTop}px`),(f.asideBottom>0||f.asideTop>0)&&(p.height=`calc(100% - ${f.asideTop+f.asideBottom}px)`),i.value={"--asideWidth":f.asideWidth,...p},l.value={"--asideWidth":f.asideWidth},a.value=O(f.maskBackground)?``:`background-color: ${f.maskBackground}`,o.value=f.foldIconHeight!==60&&f.foldIconHeight>0?`width: ${f.foldIconHeight}px;height:${f.foldIconHeight}px`:``,s.value=f.foldIconHeight!==60&&f.foldIconHeight>0?`font-size: ${f.foldIconHeight/2}px`:``,c.value=f.footerIndent>0&&f.footerIndent!==200?`text-indent:${f.footerIndent}px`:``;let m=n,h=()=>{m(`aside`)};return(n,o)=>{let s=(0,e.resolveComponent)(`router-view`);return(0,e.openBlock)(),(0,e.createElementBlock)(`section`,de,[(0,e.unref)(u).aside?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,style:(0,e.normalizeStyle)(i.value),class:(0,e.normalizeClass)([`oga-layout-aside`,`${d.value?`active `:``}${t.asideCss}${n.$slots.asideFooter?` has-footer`:``}`]),onClick:h},[n.$slots.asideHeader?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,fe,[(0,e.renderSlot)(n.$slots,`asideHeader`)])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,pe,[(0,e.renderSlot)(n.$slots,`aside`)]),n.$slots.asideFooter?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,me,[(0,e.renderSlot)(n.$slots,`asideFooter`)])):(0,e.createCommentVNode)(`v-if`,!0)],6)):(0,e.createCommentVNode)(`v-if`,!0),n.$slots.header?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,class:`oga-header`,style:(0,e.normalizeStyle)(l.value)},[(0,e.renderSlot)(n.$slots,`header`)],4)):(0,e.createCommentVNode)(`v-if`,!0),t.isRouterView?((0,e.openBlock)(),(0,e.createBlock)(s,{key:2})):(0,e.createCommentVNode)(`v-if`,!0),(0,e.renderSlot)(n.$slots,`default`),n.$slots.footer?(0,e.renderSlot)(n.$slots,`footer`,{key:3}):(0,e.createCommentVNode)(`v-if`,!0),t.copyright?((0,e.openBlock)(),(0,e.createElementBlock)(`footer`,{key:4,class:`oga-layout-footer`,style:(0,e.normalizeStyle)(c.value)},`© `+(0,e.toDisplayString)(r.value)+` `+(0,e.toDisplayString)(t.copyright),5)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)([`oga-layout-mask`,d.value?`active`:``]),style:(0,e.normalizeStyle)(`width: calc(100% - ${l.value}px);${a.value}`),onClick:o[0]||=e=>d.value=!1},null,6)])}}}),ge={install(e){e.component(`OgaLayout`,he)}},_e=(0,e.defineComponent)({name:`ArrowDown`,__name:`arrow-down`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z`})]))}}),ve=(0,e.defineComponent)({name:`ArrowLeft`,__name:`arrow-left`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0`})]))}}),ye=(0,e.defineComponent)({name:`CircleCheck`,__name:`circle-check`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896`}),(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z`})]))}}),be=(0,e.defineComponent)({name:`CircleCloseFilled`,__name:`circle-close-filled`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z`})]))}}),xe=(0,e.defineComponent)({name:`CircleClose`,__name:`circle-close`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z`}),(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896`})]))}}),Se=(0,e.defineComponent)({name:`Close`,__name:`close`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z`})]))}}),Ce=(0,e.defineComponent)({name:`Hide`,__name:`hide`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176`}),(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48`})]))}}),we=(0,e.defineComponent)({name:`InfoFilled`,__name:`info-filled`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z`})]))}}),Te=(0,e.defineComponent)({name:`Loading`,__name:`loading`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0`})]))}}),Ee=(0,e.defineComponent)({name:`Plus`,__name:`plus`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z`})]))}}),De=(0,e.defineComponent)({name:`SuccessFilled`,__name:`success-filled`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z`})]))}}),Oe=(0,e.defineComponent)({name:`View`,__name:`view`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160`})]))}}),ke=(0,e.defineComponent)({name:`WarningFilled`,__name:`warning-filled`,setup(t){return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4`})]))}});function Ae(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var je={};function Me(e){je[e]||(je[e]=!0,Ae(e))}var Ne=typeof window<`u`,Pe,Fe;if(process.env.NODE_ENV!==`production`){let e=Ne&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Pe=t=>{e.mark(t)},Fe=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}var Ie=/\{([0-9a-zA-Z]+)\}/g;function Le(e,...t){return t.length===1&&it(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ie,(e,n)=>t.hasOwnProperty(n)?t[n]:``)}var Re=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ze=(e,t,n)=>Be({l:e,k:t,s:n}),Be=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),Ve=e=>typeof e==`number`&&isFinite(e),He=e=>st(e)===`[object Date]`,Ue=e=>st(e)===`[object RegExp]`,We=e=>ct(e)&&Object.keys(e).length===0,Ge=Object.assign,Ke=Object.create,qe=(e=null)=>Ke(e),Je,Ye=()=>Je||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:qe();function Xe(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/\//g,`&#x2F;`).replace(/=/g,`&#x3D;`)}function Ze(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&amp;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function Qe(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${Ze(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${Ze(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!==`production`&&Ae(`Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages.`),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1&#111;n$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript&#58;`)}),e}var $e=Object.prototype.hasOwnProperty;function et(e,t){return $e.call(e,t)}var tt=Array.isArray,nt=e=>typeof e==`function`,j=e=>typeof e==`string`,rt=e=>typeof e==`boolean`,it=e=>typeof e==`object`&&!!e,at=e=>it(e)&&nt(e.then)&&nt(e.catch),ot=Object.prototype.toString,st=e=>ot.call(e),ct=e=>st(e)===`[object Object]`,lt=e=>e==null?``:tt(e)||ct(e)&&e.toString===ot?JSON.stringify(e,null,2):String(e);function ut(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var dt=2;function ft(e,t=0,n=e.length){let r=e.split(/\r?\n/),i=0,a=[];for(let e=0;e<r.length;e++)if(i+=r[e].length+1,i>=t){for(let o=e-dt;o<=e+dt||n>i;o++){if(o<0||o>=r.length)continue;let s=o+1;a.push(`${s}${` `.repeat(3-String(s).length)}| ${r[o]}`);let c=r[o].length;if(o===e){let e=t-(i-c)+1,r=Math.max(1,n>i?c-e:n-t);a.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(o>e){if(n>i){let e=Math.max(Math.min(n-i,c),1);a.push(` | `+`^`.repeat(e))}i+=c+1}}break}return a.join(`
2
+ `)}function pt(){let e=new Map;return{events:e,on(t,n){let r=e.get(t);r&&r.push(n)||e.set(t,[n])},off(t,n){let r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(e=>e(n)),(e.get(`*`)||[]).slice().map(e=>e(t,n))}}}var mt=e=>!it(e)||tt(e);function ht(e,t){if(mt(e)||mt(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(it(e[r])&&!it(t[r])&&(t[r]=Array.isArray(e[r])?[]:qe()),mt(t[r])||mt(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function gt(e,t,n){return{line:e,column:t,offset:n}}function _t(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},eee={[M.EXPECTED_TOKEN]:`Expected token: '{0}'`,[M.INVALID_TOKEN_IN_PLACEHOLDER]:`Invalid token in placeholder: '{0}'`,[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:`Unterminated single quote in placeholder`,[M.UNKNOWN_ESCAPE_SEQUENCE]:`Unknown escape sequence: \\{0}`,[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:`Invalid unicode escape sequence: {0}`,[M.UNBALANCED_CLOSING_BRACE]:`Unbalanced closing brace`,[M.UNTERMINATED_CLOSING_BRACE]:`Unterminated closing brace`,[M.EMPTY_PLACEHOLDER]:`Empty placeholder`,[M.NOT_ALLOW_NEST_PLACEHOLDER]:`Not allowed nest placeholder`,[M.INVALID_LINKED_FORMAT]:`Invalid linked format`,[M.MUST_HAVE_MESSAGES_IN_PLURAL]:`Plural must have messages`,[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:`Unexpected empty linked modifier`,[M.UNEXPECTED_EMPTY_LINKED_KEY]:`Unexpected empty linked key`,[M.UNEXPECTED_LEXICAL_ANALYSIS]:`Unexpected lexical analysis in token: '{0}'`,[M.UNHANDLED_CODEGEN_NODE_TYPE]:`unhandled codegen node type: '{0}'`,[M.UNHANDLED_MINIFIER_NODE_TYPE]:`unhandled mimifier node type: '{0}'`};function vt(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=process.env.NODE_ENV===`production`?e:Le((i||eee)[e]||``,...a||[]),s=SyntaxError(String(o));return s.code=e,t&&(s.location=t),s.domain=r,s}function tee(e){throw e}var nee=/<\/?[\w\s="/.':;#-\/]+>/,ree=e=>nee.test(e),yt=` `,iee=`\r`,bt=`
3
+ `,aee=`\u2028`,oee=`\u2029`;function see(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===iee&&t[e+1]===bt,s=e=>t[e]===bt,c=e=>t[e]===oee,l=e=>t[e]===aee,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?bt:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var xt=void 0,St=`'`,Ct=`tokenizer`;function cee(e,t={}){let n=t.location!==!1,r=see(e),i=()=>r.index(),a=()=>gt(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();t.column+=r,t.offset+=r,u&&u(vt(e,n?_t(a.startLoc,t):null,{domain:Ct,args:i}))}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=_t(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(M.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===yt||e.currentPeek()===bt;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===xt)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===xt)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===St;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(!(n===7||n===11))return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===yt||!t?!1:t===bt?(e.peek(),r()):D(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function D(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?!(r===yt||r===bt):i===yt?(e.peek(),n(!0,yt)):i===bt?(e.peek(),n(!0,bt)):!0},r=n();return t&&e.resetPeek(),r}function O(e,t){let n=e.currentChar();return n===xt?xt:t(n)?(e.next(),n):null}function ee(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function k(e){return O(e,ee)}function te(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function A(e){return O(e,te)}function ne(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function re(e){return O(e,ne)}function ie(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function ae(e){return O(e,ie)}function oe(e){let t=``,n=``;for(;t=re(e);)n+=t;return n}function se(e){let t=``;for(;;){let n=e.currentChar();if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;if(n===yt||n===bt)if(D(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next();else t+=n,e.next()}return t}function ce(e){g(e);let t=``,n=``;for(;t=A(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==xt&&r!==yt&&r!==bt&&r!==` `){let t=he(e);return d(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===xt&&d(M.UNTERMINATED_CLOSING_BRACE,a(),0),n}function le(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${oe(e)}`):t+=oe(e),e.currentChar()===xt&&d(M.UNTERMINATED_CLOSING_BRACE,a(),0),t}function ue(e){return e!==St&&e!==bt}function de(e){g(e),m(e,`'`);let t=``,n=``;for(;t=O(e,ue);)t===`\\`?n+=fe(e):n+=t;let r=e.currentChar();return r===bt||r===xt?(d(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===bt&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function fe(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return pe(e,t,4);case`U`:return pe(e,t,6);default:return d(M.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function pe(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=ae(e);if(!n){d(M.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function me(e){return e!==`{`&&e!==`}`&&e!==yt&&e!==bt}function he(e){g(e);let t=``,n=``;for(;t=O(e,me);)n+=t;return n}function ge(e){let t=``,n=``;for(;t=k(e);)n+=t;return n}function _e(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===yt?n:(n+=r,e.next(),t(n))};return t(``)}function ve(e){g(e);let t=m(e,`|`);return g(e),t}function ye(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(M.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(M.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,a(),0),n=be(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(M.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,ve(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(M.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,xe(e,t);if(r=y(e,t))return n=f(t,4,ce(e)),g(e),n;if(i=b(e,t))return n=f(t,5,le(e)),g(e),n;if(o=x(e,t))return n=f(t,6,de(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,he(e)),d(M.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function be(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===bt||i===yt)&&d(M.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,ve(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),be(e,t)):C(e,t)?(g(e),f(t,11,ge(e))):T(e,t)?(g(e),i===`{`?ye(e,t)||r:f(t,10,_e(e))):(n===7&&d(M.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,xe(e,t))}}function xe(e,t){let n={type:13};if(t.braceNest>0)return ye(e,t)||p(t);if(t.inLinked)return be(e,t)||p(t);switch(e.currentChar()){case`{`:return ye(e,t)||p(t);case`}`:return d(M.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return be(e,t)||p(t);default:if(E(e))return n=f(t,1,ve(e)),t.braceNest=0,t.inLinked=!1,n;if(D(e))return f(t,0,se(e));break}return n}function Se(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===xt?f(c,13):xe(r,c)}return{nextToken:Se,currentOffset:i,currentPosition:a,context:l}}var lee=`parser`,uee=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function dee(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function fee(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();s.offset+=a,s.column+=a,n&&n(vt(r,t?_t(i,s):null,{domain:lee,args:o}))}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(uee,dee),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,wt(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(o)),n.key=l(e,o.value||``);break;default:{r(e,M.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,M.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,wt(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,M.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=cee(n,Ge({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,M.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function wt(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function pee(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Tt(e,t){for(let n=0;n<e.length;n++)Et(e[n],t)}function Et(e,t){switch(e.type){case 1:Tt(e.cases,t),t.helper(`plural`);break;case 2:Tt(e.items,t);break;case 6:Et(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`);break}}function mee(e,t={}){let n=pee(e);n.helper(`normalize`),e.body&&Et(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function hee(e){let t=e.body;return t.type===2?Dt(t):t.cases.forEach(e=>Dt(e)),e}function Dt(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=ut(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}var gee=`minifier`;function Ot(e){switch(e.t=e.type,e.type){case 0:{let t=e;Ot(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)Ot(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)Ot(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;Ot(t.key),t.k=t.key,delete t.key,t.modifier&&(Ot(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!==`production`)throw vt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:gee,args:[e.type]})}delete e.type}var _ee=`parser`;function kt(e,t){let{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,s={filename:r,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(s.source=e.loc.source);let c=()=>s;function l(e,t){s.code+=e}function u(e,t=!0){let n=t?i:``;l(a?n+` `.repeat(e):n)}function d(e=!0){let t=++s.indentLevel;e&&u(t)}function f(e=!0){let t=--s.indentLevel;e&&u(t)}function p(){u(s.indentLevel)}return{context:c,push:l,indent:d,deindent:f,newline:p,helper:e=>`_${e}`,needIndent:()=>s.needIndent}}function vee(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),At(e,t.key),t.modifier?(e.push(`, `),At(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function yee(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(At(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function bee(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(At(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function xee(e,t){t.body?At(e,t.body):e.push(`null`)}function At(e,t){let{helper:n}=e;switch(t.type){case 0:xee(e,t);break;case 1:bee(e,t);break;case 2:yee(e,t);break;case 6:vee(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!==`production`)throw vt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:_ee,args:[t.type]})}}var See=(e,t={})=>{let n=j(t.mode)?t.mode:`normal`,r=j(t.filename)?t.filename:`message.intl`,i=!!t.sourceMap,a=t.breakLineCode==null?n===`arrow`?`;`:`
4
+ `:t.breakLineCode,o=t.needIndent?t.needIndent:n!==`arrow`,s=e.helpers||[],c=kt(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});c.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),c.indent(o),s.length>0&&(c.push(`const { ${ut(s.map(e=>`${e}: _${e}`),`, `)} } = ctx`),c.newline()),c.push(`return `),At(c,e),c.deindent(o),c.push(`}`),delete e.helpers;let{code:l,map:u}=c.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function Cee(e,t={}){let n=Ge({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,o=fee(n).parse(e);return r?(a&&hee(o),i&&Ot(o),{ast:o,code:``}):(mee(o,n),See(o,n))}function wee(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Ye().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Ye().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function jt(e){return it(e)&&Lt(e)===0&&(et(e,`b`)||et(e,`body`))}var Mt=[`b`,`body`];function Tee(e){return Ht(e,Mt)}var Nt=[`c`,`cases`];function Eee(e){return Ht(e,Nt,[])}var Pt=[`s`,`static`];function Dee(e){return Ht(e,Pt)}var Ft=[`i`,`items`];function Oee(e){return Ht(e,Ft,[])}var It=[`t`,`type`];function Lt(e){return Ht(e,It)}var Rt=[`v`,`value`];function zt(e,t){let n=Ht(e,Rt);if(n!=null)return n;throw Wt(t)}var Bt=[`m`,`modifier`];function kee(e){return Ht(e,Bt)}var Vt=[`k`,`key`];function Aee(e){let t=Ht(e,Vt);if(t)return t;throw Wt(6)}function Ht(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(et(e,r)&&e[r]!=null)return e[r]}return n}var Ut=[...Mt,...Nt,...Pt,...Ft,...Vt,...Bt,...Rt,...It];function Wt(e){return Error(`unhandled node type: ${e}`)}function Gt(e){return t=>jee(t,e)}function jee(e,t){let n=Tee(t);if(n==null)throw Wt(0);if(Lt(n)===1){let t=Eee(n);return e.plural(t.reduce((t,n)=>[...t,Kt(e,n)],[]))}else return Kt(e,n)}function Kt(e,t){let n=Dee(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=Oee(t).reduce((t,n)=>[...t,qt(e,n)],[]);return e.normalize(n)}}function qt(e,t){let n=Lt(t);switch(n){case 3:return zt(t,n);case 9:return zt(t,n);case 4:{let r=t;if(et(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(et(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw Wt(n)}case 5:{let r=t;if(et(r,`i`)&&Ve(r.i))return e.interpolate(e.list(r.i));if(et(r,`index`)&&Ve(r.index))return e.interpolate(e.list(r.index));throw Wt(n)}case 6:{let n=t,r=kee(n),i=Aee(n);return e.linked(qt(e,i),r?qt(e,r):void 0,e.type)}case 7:return zt(t,n);case 8:return zt(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var Mee=`Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;function Nee(e,t){t&&ree(e)&&Ae(Le(Mee,{source:e}))}var Pee=e=>e,Jt=qe();function Fee(e,t={}){let n=!1,r=t.onError||tee;return t.onError=e=>{n=!0,r(e)},{...Cee(e,t),detectError:n}}function Iee(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&j(e)){let n=rt(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!==`production`&&Nee(e,n);let r=(t.onCacheKey||Pee)(e),i=Jt[r];if(i)return i;let{ast:a,detectError:o}=Fee(e,{...t,location:process.env.NODE_ENV!==`production`,jit:!0}),s=Gt(a);return o?s:Jt[r]=s}else{if(process.env.NODE_ENV!==`production`&&!jt(e))return Ae(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),(()=>e);let n=e.cacheKey;return n?Jt[n]||(Jt[n]=Gt(e)):Gt(e)}}var Yt=null;function Lee(e){Yt=e}function Ree(e,t,n){Yt&&Yt.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var zee=Bee(`function:translate`);function Bee(e){return t=>Yt&&Yt.emit(e,t)}var Xt={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Zt(e){return vt(e,null,process.env.NODE_ENV===`production`?void 0:{messages:Vee})}var Vee={[Xt.INVALID_ARGUMENT]:`Invalid arguments`,[Xt.INVALID_DATE_ARGUMENT]:`The date provided is an invalid Date object.Make sure your Date represents a valid date.`,[Xt.INVALID_ISO_DATE_ARGUMENT]:`The argument provided is not a valid ISO date string`,[Xt.NOT_SUPPORT_NON_STRING_MESSAGE]:`Not support non-string message`,[Xt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:`cannot support promise value`,[Xt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:`cannot support async function`,[Xt.NOT_SUPPORT_LOCALE_TYPE]:`cannot support locale type`};function Qt(e,t){return t.locale==null?en(e.locale):en(t.locale)}var $t;function en(e){if(j(e))return e;if(nt(e)){if(e.resolvedOnce&&$t!=null)return $t;if(e.constructor.name===`Function`){let t=e();if(at(t))throw Zt(Xt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $t=t}else throw Zt(Xt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Zt(Xt.NOT_SUPPORT_LOCALE_TYPE)}function Hee(e,t,n){return[...new Set([n,...tt(t)?t:it(t)?Object.keys(t):j(t)?[t]:[n]])]}function tn(e,t,n){let r=j(n)?n:dn,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;tt(e);)e=nn(a,e,t);let o=tt(t)||!ct(t)?t:t.default?t.default:null;e=j(o)?[o]:o,tt(e)&&nn(a,e,!1),i.__localeChainCache.set(r,a)}return a}function nn(e,t,n){let r=!0;for(let i=0;i<t.length&&rt(r);i++){let a=t[i];j(a)&&(r=Uee(e,t[i],n))}return r}function Uee(e,t,n){let r,i=t.split(`-`);do r=Wee(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Wee(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(tt(n)||ct(n))&&n[i]&&(r=n[i])}return r}var rn=[];rn[0]={w:[0],i:[3,0],"[":[4],o:[7]},rn[1]={w:[1],".":[2],"[":[4],o:[7]},rn[2]={w:[2],i:[3,0],0:[3,0]},rn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},rn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},rn[5]={"'":[4,0],o:8,l:[5,0]},rn[6]={'"':[4,0],o:8,l:[6,0]};var Gee=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Kee(e){return Gee.test(e)}function qee(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Jee(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function an(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:Kee(t)?qee(t):`*`+t}function on(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=an(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=Jee(a),d=rn[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var sn=new Map;function cn(e,t){return it(e)?e[t]:null}function Yee(e,t){if(!it(e))return null;let n=sn.get(t);if(n||(n=on(t),n&&sn.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(Ut.includes(e)&&jt(i))return null;let t=i[e];if(t===void 0||nt(i))return null;i=t,a++}return i}var ln={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Xee={[ln.NOT_FOUND_KEY]:`Not found '{key}' key in '{locale}' locale messages.`,[ln.FALLBACK_TO_TRANSLATE]:`Fall back to translate '{key}' key with '{target}' locale.`,[ln.CANNOT_FORMAT_NUMBER]:`Cannot format a number value due to not supported Intl.NumberFormat.`,[ln.FALLBACK_TO_NUMBER_FORMAT]:`Fall back to number format '{key}' key with '{target}' locale.`,[ln.CANNOT_FORMAT_DATE]:`Cannot format a date value due to not supported Intl.DateTimeFormat.`,[ln.FALLBACK_TO_DATE_FORMAT]:`Fall back to datetime format '{key}' key with '{target}' locale.`,[ln.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:`This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.`};function un(e,...t){return Le(Xee[e],...t)}var Zee=`11.2.8`,dn=`en-US`,fn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Qee(){return{upper:(e,t)=>t===`text`&&j(e)?e.toUpperCase():t===`vnode`&&it(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&j(e)?e.toLowerCase():t===`vnode`&&it(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&j(e)?fn(e):t===`vnode`&&it(e)&&`__v_isVNode`in e?fn(e.children):e}}var pn;function $ee(e){pn=e}var mn;function ete(e){mn=e}var hn;function tte(e){hn=e}var nte=null,rte=()=>nte,gn=null,_n=e=>{gn=e},ite=()=>gn,vn=0;function ate(e={}){let t=nt(e.onWarn)?e.onWarn:Ae,n=j(e.version)?e.version:Zee,r=j(e.locale)||nt(e.locale)?e.locale:dn,i=nt(r)?dn:r,a=tt(e.fallbackLocale)||ct(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=ct(e.messages)?e.messages:yn(i),s=ct(e.datetimeFormats)?e.datetimeFormats:yn(i),c=ct(e.numberFormats)?e.numberFormats:yn(i),l=Ge(qe(),e.modifiers,Qee()),u=e.pluralRules||qe(),d=nt(e.missing)?e.missing:null,f=rt(e.missingWarn)||Ue(e.missingWarn)?e.missingWarn:!0,p=rt(e.fallbackWarn)||Ue(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=nt(e.postTranslation)?e.postTranslation:null,_=ct(e.processor)?e.processor:null,v=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=nt(e.messageCompiler)?e.messageCompiler:pn;process.env.NODE_ENV!==`production`&&nt(e.messageCompiler)&&Me(un(ln.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));let x=nt(e.messageResolver)?e.messageResolver:mn||cn,S=nt(e.localeFallbacker)?e.localeFallbacker:hn||Hee,C=it(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=it(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,E=it(w.__numberFormatters)?w.__numberFormatters:new Map,D=it(w.__meta)?w.__meta:{};vn++;let O={version:n,cid:vn,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:D};return O.datetimeFormats=s,O.numberFormats=c,O.__datetimeFormatters=T,O.__numberFormatters=E,process.env.NODE_ENV!==`production`&&(O.__v_emitter=w.__v_emitter==null?void 0:w.__v_emitter),(process.env.NODE_ENV!==`production`||__INTLIFY_PROD_DEVTOOLS__)&&Ree(O,n,D),O}var yn=e=>({[e]:qe()});function bn(e,t){return e instanceof RegExp?e.test(t):e}function xn(e,t){return e instanceof RegExp?e.test(t):e}function Sn(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(process.env.NODE_ENV!==`production`){let r=e.__v_emitter;r&&r.emit(`missing`,{locale:n,key:t,type:i,groupId:`${i}:${t}`})}if(a!==null){let r=a(e,n,t,i);return j(r)?r:t}else return process.env.NODE_ENV!==`production`&&xn(r,t)&&o(un(ln.NOT_FOUND_KEY,{key:t,locale:n})),t}function Cn(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function wn(e,t){return e===t?!1:e.split(`-`)[0]===t.split(`-`)[0]}function ote(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(wn(e,t[r]))return!0;return!1}var Tn=typeof Intl<`u`,En={dateTimeFormat:Tn&&Intl.DateTimeFormat!==void 0,numberFormat:Tn&&Intl.NumberFormat!==void 0};function Dn(e,...t){let{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!==`production`&&!En.dateTimeFormat)return a(un(ln.CANNOT_FORMAT_DATE)),``;let[c,l,u,d]=kn(...t),f=rt(u.missingWarn)?u.missingWarn:e.missingWarn,p=rt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,h=Qt(e,u),g=o(e,i,h);if(!j(c)||c===``)return new Intl.DateTimeFormat(h,d).format(l);let _={},v,y=null,b=h,x=null,S=`datetime format`;for(let t=0;t<g.length;t++){if(v=x=g[t],process.env.NODE_ENV!==`production`&&h!==v&&bn(p,c)&&a(un(ln.FALLBACK_TO_DATE_FORMAT,{key:c,target:v})),process.env.NODE_ENV!==`production`&&h!==v){let t=e.__v_emitter;t&&t.emit(`fallback`,{type:S,key:c,from:b,to:x,groupId:`${S}:${c}`})}if(_=n[v]||{},y=_[c],ct(y))break;Sn(e,c,v,f,S),b=x}if(!ct(y)||!j(v))return r?-1:c;let C=`${v}__${c}`;We(d)||(C=`${C}__${JSON.stringify(d)}`);let w=s.get(C);return w||(w=new Intl.DateTimeFormat(v,Ge({},y,d)),s.set(C,w)),m?w.formatToParts(l):w.format(l)}var On=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function kn(...e){let[t,n,r,i]=e,a=qe(),o=qe(),s;if(j(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Zt(Xt.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Zt(Xt.INVALID_ISO_DATE_ARGUMENT)}}else if(He(t)){if(isNaN(t.getTime()))throw Zt(Xt.INVALID_DATE_ARGUMENT);s=t}else if(Ve(t))s=t;else throw Zt(Xt.INVALID_ARGUMENT);return j(n)?a.key=n:ct(n)&&Object.keys(n).forEach(e=>{On.includes(e)?o[e]=n[e]:a[e]=n[e]}),j(r)?a.locale=r:ct(r)&&(o=r),ct(i)&&(o=i),[a.key||``,s,a,o]}function An(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function jn(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!==`production`&&!En.numberFormat)return a(un(ln.CANNOT_FORMAT_NUMBER)),``;let[c,l,u,d]=Nn(...t),f=rt(u.missingWarn)?u.missingWarn:e.missingWarn,p=rt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=!!u.part,h=Qt(e,u),g=o(e,i,h);if(!j(c)||c===``)return new Intl.NumberFormat(h,d).format(l);let _={},v,y=null,b=h,x=null,S=`number format`;for(let t=0;t<g.length;t++){if(v=x=g[t],process.env.NODE_ENV!==`production`&&h!==v&&bn(p,c)&&a(un(ln.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:v})),process.env.NODE_ENV!==`production`&&h!==v){let t=e.__v_emitter;t&&t.emit(`fallback`,{type:S,key:c,from:b,to:x,groupId:`${S}:${c}`})}if(_=n[v]||{},y=_[c],ct(y))break;Sn(e,c,v,f,S),b=x}if(!ct(y)||!j(v))return r?-1:c;let C=`${v}__${c}`;We(d)||(C=`${C}__${JSON.stringify(d)}`);let w=s.get(C);return w||(w=new Intl.NumberFormat(v,Ge({},y,d)),s.set(C,w)),m?w.formatToParts(l):w.format(l)}var Mn=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function Nn(...e){let[t,n,r,i]=e,a=qe(),o=qe();if(!Ve(t))throw Zt(Xt.INVALID_ARGUMENT);let s=t;return j(n)?a.key=n:ct(n)&&Object.keys(n).forEach(e=>{Mn.includes(e)?o[e]=n[e]:a[e]=n[e]}),j(r)?a.locale=r:ct(r)&&(o=r),ct(i)&&(o=i),[a.key||``,s,a,o]}function Pn(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}var ste=e=>e,cte=e=>``,lte=`text`,ute=e=>e.length===0?``:ut(e),dte=lt;function Fn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function fte(e){let t=Ve(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ve(e.named.count)||Ve(e.named.n))?Ve(e.named.count)?e.named.count:Ve(e.named.n)?e.named.n:t:t}function pte(e,t){t.count||=e,t.n||=e}function mte(e={}){let t=e.locale,n=fte(e),r=it(e.pluralRules)&&j(t)&&nt(e.pluralRules[t])?e.pluralRules[t]:Fn,i=it(e.pluralRules)&&j(t)&&nt(e.pluralRules[t])?Fn:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||qe();Ve(e.pluralIndex)&&pte(n,c);let l=e=>c[e];function u(t,n){return(nt(e.messages)?e.messages(t,!!n):it(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):cte)}let d=t=>e.modifiers?e.modifiers[t]:ste,f=ct(e.processor)&&nt(e.processor.normalize)?e.processor.normalize:ute,p=ct(e.processor)&&nt(e.processor.interpolate)?e.processor.interpolate:dte,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?it(n)?(a=n.modifier||a,i=n.type||i):j(n)&&(a=n||a):t.length===2&&(j(n)&&(a=n||a),j(r)&&(i=r||i));let o=u(e,!0)(m),s=i===`vnode`&&tt(o)&&a?o[0]:o;return a?d(a)(s,i):s},message:u,type:ct(e.processor)&&j(e.processor.type)?e.processor.type:lte,interpolate:p,normalize:f,values:Ge(qe(),o,c)};return m}var In=()=>``,Ln=e=>nt(e);function Rn(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=Vn(...t),u=rt(l.missingWarn)?l.missingWarn:e.missingWarn,d=rt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=rt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=j(l.default)||rt(l.default)?rt(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(j(m)||nt(m)),g=Qt(e,l);f&&hte(l);let[_,v,y]=p?[c,g,s[g]||qe()]:zn(e,c,g,o,d,u),b=_,x=c;if(!p&&!(j(b)||jt(b)||Ln(b))&&h&&(b=m,x=b),!p&&(!(j(b)||jt(b)||Ln(b))||!j(v)))return i?-1:c;if(process.env.NODE_ENV!==`production`&&j(b)&&e.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let S=!1,C=Ln(b)?b:Bn(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=gte(e,C,mte(yte(e,v,y,l))),T=r?r(w,c):w;if(f&&j(T)&&(T=Qe(T)),process.env.NODE_ENV!==`production`||__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:j(c)?c:Ln(b)?b.key:``,locale:v||(Ln(b)?b.locale:``),format:j(b)?b:Ln(b)?b.source:``,message:T};t.meta=Ge({},e.__meta,rte()||{}),zee(t)}return T}function hte(e){tt(e.list)?e.list=e.list.map(e=>j(e)?Xe(e):e):it(e.named)&&Object.keys(e.named).forEach(t=>{j(e.named[t])&&(e.named[t]=Xe(e.named[t]))})}function zn(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=qe(),f,p=null,m=n,h=null,g=`translate`;for(let r=0;r<u.length;r++){if(f=h=u[r],process.env.NODE_ENV!==`production`&&n!==f&&!wn(n,f)&&bn(i,t)&&s(un(ln.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!==`production`&&n!==f){let n=e.__v_emitter;n&&n.emit(`fallback`,{type:g,key:t,from:m,to:h,groupId:`${g}:${t}`})}d=o[f]||qe();let l=null,_,v;if(process.env.NODE_ENV!==`production`&&Ne&&(l=window.performance.now(),_=`intlify-message-resolve-start`,v=`intlify-message-resolve-end`,Pe&&Pe(_)),(p=c(d,t))===null&&(p=d[t]),process.env.NODE_ENV!==`production`&&Ne){let n=window.performance.now(),r=e.__v_emitter;r&&l&&p&&r.emit(`message-resolve`,{type:`message-resolve`,key:t,message:p,time:n-l,groupId:`${g}:${t}`}),_&&v&&Pe&&Fe&&(Pe(v),Fe(`intlify message resolve`,_,v))}if(j(p)||jt(p)||Ln(p))break;if(!ote(f,u)){let n=Sn(e,t,f,a,g);n!==t&&(p=n)}m=h}return[p,f,d]}function Bn(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(Ln(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=null,l,u;process.env.NODE_ENV!==`production`&&Ne&&(c=window.performance.now(),l=`intlify-message-compilation-start`,u=`intlify-message-compilation-end`,Pe&&Pe(l));let d=o(r,_te(e,n,i,r,s,a));if(process.env.NODE_ENV!==`production`&&Ne){let n=window.performance.now(),i=e.__v_emitter;i&&c&&i.emit(`message-compilation`,{type:`message-compilation`,message:r,time:n-c,groupId:`translate:${t}`}),l&&u&&Pe&&Fe&&(Pe(u),Fe(`intlify message compilation`,l,u))}return d.locale=n,d.key=t,d.source=r,d}function gte(e,t,n){let r=null,i,a;process.env.NODE_ENV!==`production`&&Ne&&(r=window.performance.now(),i=`intlify-message-evaluation-start`,a=`intlify-message-evaluation-end`,Pe&&Pe(i));let o=t(n);if(process.env.NODE_ENV!==`production`&&Ne){let n=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit(`message-evaluation`,{type:`message-evaluation`,value:o,time:n-r,groupId:`translate:${t.key}`}),i&&a&&Pe&&Fe&&(Pe(a),Fe(`intlify message evaluation`,i,a))}return o}function Vn(...e){let[t,n,r]=e,i=qe();if(!j(t)&&!Ve(t)&&!Ln(t)&&!jt(t))throw Zt(Xt.INVALID_ARGUMENT);let a=Ve(t)?String(t):(Ln(t),t);return Ve(n)?i.plural=n:j(n)?i.default=n:ct(n)&&!We(n)?i.named=n:tt(n)&&(i.list=n),Ve(r)?i.plural=r:j(r)?i.default=r:ct(r)&&Ge(i,r),[a,i]}function _te(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:t=>{if(a&&a(t),process.env.NODE_ENV!==`production`){let i=vte(r),a=`Message compilation error: ${t.message}`,o=t.location&&i&&ft(i,t.location.start.offset,t.location.end.offset),s=e.__v_emitter;s&&i&&s.emit(`compile-error`,{message:i,error:t.message,start:t.location&&t.location.start.offset,end:t.location&&t.location.end.offset,groupId:`translate:${n}`}),console.error(o?`${a}\n${o}`:a)}else throw t},onCacheKey:e=>ze(t,n,e)}}function vte(e){if(j(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function yte(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[,,n]=zn(u||e,r,t,s,c,l);a=o(n,r)}if(j(a)||jt(a)){let n=!1,i=Bn(e,r,t,a,r,()=>{n=!0});return n?In:i}else if(Ln(a))return a;else return In}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ve(r.plural)&&(d.pluralIndex=r.plural),d}wee();function bte(){return Hn().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Hn(){return typeof navigator<`u`&&typeof window<`u`?window:typeof globalThis<`u`?globalThis:{}}let xte=typeof Proxy==`function`;var Un,Wn;function Ste(){return Un===void 0&&(typeof window<`u`&&window.performance?(Un=!0,Wn=window.performance):typeof globalThis<`u`&&globalThis.perf_hooks?.performance?(Un=!0,Wn=globalThis.perf_hooks.performance):Un=!1),Un}function Cte(){return Ste()?Wn.now():Date.now()}var wte=class{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;let n={};if(e.settings)for(let t in e.settings)n[t]=e.settings[t].defaultValue;let r=`__vue-devtools-plugin-settings__${e.id}`,i=Object.assign({},n);try{let e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(i,t)}catch{}this.fallbacks={getSettings(){return i},setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch{}i=e},now(){return Cte()}},t&&t.on(`plugin:settings:set`,(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:t===`on`?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(n=>{this.targetQueue.push({method:t,args:e,resolve:n})})})}async setRealTarget(e){this.target=e;for(let e of this.onQueue)this.target.on[e.method](...e.args);for(let e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}};function Tte(e,t){let n=e,r=Hn(),i=bte(),a=xte&&n.enableEarlyProxy;if(i&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))i.emit(`devtools-plugin:setup`,e,t);else{let e=a?new wte(n,i):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}}var Ete=`11.2.8`;function Dte(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(Ye().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(Ye().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Ye().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Ye().__INTLIFY_PROD_DEVTOOLS__=!1)}var Gn={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Kn(e,...t){return vt(e,null,process.env.NODE_ENV===`production`?void 0:{messages:Ote,args:t})}var Ote={[Gn.UNEXPECTED_RETURN_TYPE]:`Unexpected return type in composer`,[Gn.INVALID_ARGUMENT]:`Invalid argument`,[Gn.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Gn.NOT_INSTALLED]:"Need to install with `app.use` function",[Gn.UNEXPECTED_ERROR]:`Unexpected error`,[Gn.REQUIRED_VALUE]:`Required in value: {0}`,[Gn.INVALID_VALUE]:`Invalid value`,[Gn.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:`Cannot setup vue-devtools plugin`,[Gn.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Gn.NOT_COMPATIBLE_LEGACY_VUE_I18N]:`Not compatible legacy VueI18n.`,[Gn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:`Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly`},qn=Re(`__translateVNode`),Jn=Re(`__datetimeParts`),Yn=Re(`__numberParts`),Xn=Re(`__enableEmitter`),Zn=Re(`__disableEmitter`),Qn=Re(`__setPluralRules`);Re(`__intlifyMeta`);var $n=Re(`__injectWithOption`),er=Re(`__dispose`),tr={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},kte={[tr.FALLBACK_TO_ROOT]:`Fall back to {type} '{key}' with root locale.`,[tr.NOT_FOUND_PARENT_SCOPE]:`Not found parent scope. use the global scope.`,[tr.IGNORE_OBJ_FLATTEN]:`Ignore object flatten: '{key}' key has an string value`,[tr.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
5
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[tr.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:`'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.`,[tr.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function nr(e,...t){return Le(kte[e],...t)}function rr(e){if(!it(e)||jt(e))return e;for(let t in e)if(et(e,t))if(!t.includes(`.`))it(e[t])&&rr(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=qe()),!it(i[n[e]])){process.env.NODE_ENV!==`production`&&Ae(nr(tr.IGNORE_OBJ_FLATTEN,{key:n[e]})),a=!0;break}i=i[n[e]]}if(a||(jt(i)?Ut.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!jt(i)){let e=i[n[r]];it(e)&&rr(e)}}return e}function ir(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=ct(n)?n:tt(r)?qe():{[e]:qe()};if(tt(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||qe(),ht(n,o[t])):ht(n,o)}else j(e)&&ht(JSON.parse(e),o)}),i==null&&a)for(let e in o)et(o,e)&&rr(o[e]);return o}function Ate(e){return e.type}function ar(e,t,n){let r=it(t.messages)?t.messages:qe();`__i18nGlobal`in n&&(r=ir(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),it(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(it(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function or(t){return(0,e.createVNode)(e.Text,null,t,0)}function sr(){let t=`currentInstance`;return t in e?e[t]:e.getCurrentInstance()}var cr=()=>[],jte=()=>!1,lr=0;function ur(e){return((t,n,r,i)=>e(n,r,sr()||void 0,i))}function dr(t={}){let{__root:n,__injectWithOption:r}=t,i=n===void 0,a=t.flatJson,o=Ne?e.ref:e.shallowRef,s=rt(t.inheritLocale)?t.inheritLocale:!0,c=o(n&&s?n.locale.value:j(t.locale)?t.locale:dn),l=o(n&&s?n.fallbackLocale.value:j(t.fallbackLocale)||tt(t.fallbackLocale)||ct(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:c.value),u=o(ir(c.value,t)),d=o(ct(t.datetimeFormats)?t.datetimeFormats:{[c.value]:{}}),f=o(ct(t.numberFormats)?t.numberFormats:{[c.value]:{}}),p=n?n.missingWarn:rt(t.missingWarn)||Ue(t.missingWarn)?t.missingWarn:!0,m=n?n.fallbackWarn:rt(t.fallbackWarn)||Ue(t.fallbackWarn)?t.fallbackWarn:!0,h=n?n.fallbackRoot:rt(t.fallbackRoot)?t.fallbackRoot:!0,g=!!t.fallbackFormat,_=nt(t.missing)?t.missing:null,v=nt(t.missing)?ur(t.missing):null,y=nt(t.postTranslation)?t.postTranslation:null,b=n?n.warnHtmlMessage:rt(t.warnHtmlMessage)?t.warnHtmlMessage:!0,x=!!t.escapeParameter,S=n?n.modifiers:ct(t.modifiers)?t.modifiers:{},C=t.pluralRules||n&&n.pluralRules,w;w=(()=>{i&&_n(null);let e={version:Ete,locale:c.value,fallbackLocale:l.value,messages:u.value,modifiers:S,pluralRules:C,missing:v===null?void 0:v,missingWarn:p,fallbackWarn:m,fallbackFormat:g,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:b,escapeParameter:x,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:`vue`}};e.datetimeFormats=d.value,e.numberFormats=f.value,e.__datetimeFormatters=ct(w)?w.__datetimeFormatters:void 0,e.__numberFormatters=ct(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!==`production`&&(e.__v_emitter=ct(w)?w.__v_emitter:void 0);let n=ate(e);return i&&_n(n),n})(),Cn(w,c.value,l.value);function T(){return[c.value,l.value,u.value,d.value,f.value]}let E=(0,e.computed)({get:()=>c.value,set:e=>{w.locale=e,c.value=e}}),D=(0,e.computed)({get:()=>l.value,set:e=>{w.fallbackLocale=e,l.value=e,Cn(w,c.value,e)}}),O=(0,e.computed)(()=>u.value),ee=(0,e.computed)(()=>d.value),k=(0,e.computed)(()=>f.value);function te(){return nt(y)?y:null}function A(e){y=e,w.postTranslation=e}function ne(){return _}function re(e){e!==null&&(v=ur(e)),_=e,w.missing=v}function ie(e,t){return e!==`translate`||!t.resolvedMessage}let ae=(e,t,r,a,o,s)=>{T();let c;try{process.env.NODE_ENV!==`production`||__INTLIFY_PROD_DEVTOOLS__,i||(w.fallbackContext=n?ite():void 0),c=e(w)}finally{process.env.NODE_ENV!==`production`||__INTLIFY_PROD_DEVTOOLS__,i||(w.fallbackContext=void 0)}if(r!==`translate exists`&&Ve(c)&&c===-1||r===`translate exists`&&!c){let[e,i]=t();if(process.env.NODE_ENV!==`production`&&n&&j(e)&&ie(r,i)&&(h&&(bn(m,e)||xn(p,e))&&Ae(nr(tr.FALLBACK_TO_ROOT,{key:e,type:r})),process.env.NODE_ENV!==`production`)){let{__v_emitter:t}=w;t&&h&&t.emit(`fallback`,{type:r,key:e,to:`global`,groupId:`${r}:${e}`})}return n&&h?a(n):o(e)}else if(s(c))return c;else throw Kn(Gn.UNEXPECTED_RETURN_TYPE)};function oe(...e){return ae(t=>Reflect.apply(Rn,null,[t,...e]),()=>Vn(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>j(e))}function se(...e){let[t,n,r]=e;if(r&&!it(r))throw Kn(Gn.INVALID_ARGUMENT);return oe(t,n,Ge({resolvedMessage:!0},r||{}))}function ce(...e){return ae(t=>Reflect.apply(Dn,null,[t,...e]),()=>kn(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>j(e)||tt(e))}function le(...e){return ae(t=>Reflect.apply(jn,null,[t,...e]),()=>Nn(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>j(e)||tt(e))}function ue(e){return e.map(e=>j(e)||Ve(e)||rt(e)?or(String(e)):e)}let de={normalize:ue,interpolate:e=>e,type:`vnode`};function fe(...e){return ae(t=>{let n,r=t;try{r.processor=de,n=Reflect.apply(Rn,null,[r,...e])}finally{r.processor=null}return n},()=>Vn(...e),`translate`,t=>t[qn](...e),e=>[or(e)],e=>tt(e))}function pe(...e){return ae(t=>Reflect.apply(jn,null,[t,...e]),()=>Nn(...e),`number format`,t=>t[Yn](...e),cr,e=>j(e)||tt(e))}function me(...e){return ae(t=>Reflect.apply(Dn,null,[t,...e]),()=>kn(...e),`datetime format`,t=>t[Jn](...e),cr,e=>j(e)||tt(e))}function he(e){C=e,w.pluralRules=C}function ge(e,t){return ae(()=>{if(!e)return!1;let n=ye(j(t)?t:c.value),r=w.messageResolver(n,e);return jt(r)||Ln(r)||j(r)},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),jte,e=>rt(e))}function _e(e){let t=null,n=tn(w,l.value,c.value);for(let r=0;r<n.length;r++){let i=u.value[n[r]]||{},a=w.messageResolver(i,e);if(a!=null){t=a;break}}return t}function ve(e){return _e(e)??(n&&n.tm(e)||{})}function ye(e){return u.value[e]||{}}function be(e,t){if(a){let n={[e]:t};for(let e in n)et(n,e)&&rr(n[e]);t=n[e]}u.value[e]=t,w.messages=u.value}function xe(e,t){u.value[e]=u.value[e]||{};let n={[e]:t};if(a)for(let e in n)et(n,e)&&rr(n[e]);t=n[e],ht(t,u.value[e]),w.messages=u.value}function Se(e){return d.value[e]||{}}function Ce(e,t){d.value[e]=t,w.datetimeFormats=d.value,An(w,e,t)}function we(e,t){d.value[e]=Ge(d.value[e]||{},t),w.datetimeFormats=d.value,An(w,e,t)}function Te(e){return f.value[e]||{}}function Ee(e,t){f.value[e]=t,w.numberFormats=f.value,Pn(w,e,t)}function De(e,t){f.value[e]=Ge(f.value[e]||{},t),w.numberFormats=f.value,Pn(w,e,t)}lr++,n&&Ne&&((0,e.watch)(n.locale,e=>{s&&(c.value=e,w.locale=e,Cn(w,c.value,l.value))}),(0,e.watch)(n.fallbackLocale,e=>{s&&(l.value=e,w.fallbackLocale=e,Cn(w,c.value,l.value))}));let Oe={id:lr,locale:E,fallbackLocale:D,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&n&&(c.value=n.locale.value,l.value=n.fallbackLocale.value,Cn(w,c.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:O,get modifiers(){return S},get pluralRules(){return C||{}},get isGlobal(){return i},get missingWarn(){return p},set missingWarn(e){p=e,w.missingWarn=p},get fallbackWarn(){return m},set fallbackWarn(e){m=e,w.fallbackWarn=m},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return g},set fallbackFormat(e){g=e,w.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(e){b=e,w.warnHtmlMessage=e},get escapeParameter(){return x},set escapeParameter(e){x=e,w.escapeParameter=e},t:oe,getLocaleMessage:ye,setLocaleMessage:be,mergeLocaleMessage:xe,getPostTranslationHandler:te,setPostTranslationHandler:A,getMissingHandler:ne,setMissingHandler:re,[Qn]:he};return Oe.datetimeFormats=ee,Oe.numberFormats=k,Oe.rt=se,Oe.te=ge,Oe.tm=ve,Oe.d=ce,Oe.n=le,Oe.getDateTimeFormat=Se,Oe.setDateTimeFormat=Ce,Oe.mergeDateTimeFormat=we,Oe.getNumberFormat=Te,Oe.setNumberFormat=Ee,Oe.mergeNumberFormat=De,Oe[$n]=r,Oe[qn]=fe,Oe[Jn]=me,Oe[Yn]=pe,process.env.NODE_ENV!==`production`&&(Oe[Xn]=e=>{w.__v_emitter=e},Oe[Zn]=()=>{w.__v_emitter=void 0}),Oe}var fr=`vue-i18n: composer properties`,pr={"vue-devtools-plugin-vue-i18n":`Vue I18n DevTools`,"vue-i18n-resource-inspector":`Vue I18n DevTools`,"vue-i18n-timeline":`Vue I18n`},Mte={"vue-i18n-resource-inspector":`Search for scopes ...`},Nte={"vue-i18n-timeline":16764185},mr;async function Pte(e,t){return new Promise((n,r)=>{try{Tte({id:`vue-devtools-plugin-vue-i18n`,label:pr[`vue-devtools-plugin-vue-i18n`],packageName:`vue-i18n`,homepage:`https://vue-i18n.intlify.dev`,logo:`https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png`,componentStateTypes:[fr],app:e},r=>{mr=r,r.on.visitComponentTree(({componentInstance:e,treeNode:n})=>{Fte(e,n,t)}),r.on.inspectComponent(({componentInstance:e,instanceData:n})=>{e.__VUE_I18N__&&n&&(t.mode===`legacy`?e.__VUE_I18N__!==t.global.__composer&&gr(n,e.__VUE_I18N__):gr(n,e.__VUE_I18N__))}),r.addInspector({id:`vue-i18n-resource-inspector`,label:pr[`vue-i18n-resource-inspector`],icon:`language`,treeFilterPlaceholder:Mte[`vue-i18n-resource-inspector`]}),r.on.getInspectorTree(n=>{n.app===e&&n.inspectorId===`vue-i18n-resource-inspector`&&Bte(n,t)});let i=new Map;r.on.getInspectorState(async n=>{if(n.app===e&&n.inspectorId===`vue-i18n-resource-inspector`)if(r.unhighlightElement(),Hte(n,t),n.nodeId===`global`){if(!i.has(n.app)){let[e]=await r.getComponentInstances(n.app);i.set(n.app,e)}r.highlightElement(i.get(n.app))}else{let e=Vte(n.nodeId,t);e&&r.highlightElement(e)}}),r.on.editInspectorState(n=>{n.app===e&&n.inspectorId===`vue-i18n-resource-inspector`&&Wte(n,t)}),r.addTimelineLayer({id:`vue-i18n-timeline`,label:pr[`vue-i18n-timeline`],color:Nte[`vue-i18n-timeline`]}),n(!0)})}catch(e){console.error(e),r(!1)}})}function hr(e){return e.type.name||e.type.displayName||e.type.__file||`Anonymous`}function Fte(e,t,n){let r=n.mode===`composition`?n.global:n.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==r){let n={label:`i18n (${hr(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(n)}}function gr(e,t){let n=fr;e.state.push({type:n,key:`locale`,editable:!0,value:t.locale.value}),e.state.push({type:n,key:`availableLocales`,editable:!1,value:t.availableLocales}),e.state.push({type:n,key:`fallbackLocale`,editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:`inheritLocale`,editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:`messages`,editable:!1,value:_r(t.messages.value)}),e.state.push({type:n,key:`datetimeFormats`,editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:`numberFormats`,editable:!1,value:t.numberFormats.value})}function _r(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];nt(r)&&`source`in r?t[n]=zte(r):jt(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:it(r)?t[n]=_r(r):t[n]=r}),t}var Ite={"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"&":`&amp;`};function Lte(e){return e.replace(/[<>"&]/g,Rte)}function Rte(e){return Ite[e]||e}function zte(e){return{_custom:{type:`function`,display:`<span>ƒ</span> ${e.source?`("${Lte(e.source)}")`:`(?)`}`}}}function Bte(e,t){e.rootNodes.push({id:`global`,label:`Global Scope`});let n=t.mode===`composition`?t.global:t.global.__composer;for(let[r,i]of t.__instances){let a=t.mode===`composition`?i:i.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${hr(r)} Scope`})}}function Vte(e,t){let n=null;if(e!==`global`){for(let[r,i]of t.__instances.entries())if(i.id.toString()===e){n=r;break}}return n}function vr(e,t){if(e===`global`)return t.mode===`composition`?t.global:t.global.__composer;{let n=Array.from(t.__instances.values()).find(t=>t.id.toString()===e);return n?t.mode===`composition`?n:n.__composer:null}}function Hte(e,t){let n=vr(e.nodeId,t);return n&&(e.state=Ute(n)),null}function Ute(e){let t={},n=`Locale related info`;t[n]=[{type:n,key:`locale`,editable:!0,value:e.locale.value},{type:n,key:`fallbackLocale`,editable:!0,value:e.fallbackLocale.value},{type:n,key:`availableLocales`,editable:!1,value:e.availableLocales},{type:n,key:`inheritLocale`,editable:!0,value:e.inheritLocale}];let r=`Locale messages info`;t[r]=[{type:r,key:`messages`,editable:!1,value:_r(e.messages.value)}];{let n=`Datetime formats info`;t[n]=[{type:n,key:`datetimeFormats`,editable:!1,value:e.datetimeFormats.value}];let r=`Datetime formats info`;t[r]=[{type:r,key:`numberFormats`,editable:!1,value:e.numberFormats.value}]}return t}function yr(e,t){if(mr){let n;t&&`groupId`in t&&(n=t.groupId,delete t.groupId),mr.addTimelineEvent({layerId:`vue-i18n-timeline`,event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e===`compile-error`?`error`:e===`fallback`||e===`missing`?`warning`:`default`}})}}function Wte(e,t){let n=vr(e.nodeId,t);if(n){let[t]=e.path;t===`locale`&&j(e.state.value)?n.locale.value=e.state.value:t===`fallbackLocale`&&(j(e.state.value)||tt(e.state.value)||it(e.state.value))?n.fallbackLocale.value=e.state.value:t===`inheritLocale`&&rt(e.state.value)&&(n.inheritLocale=e.state.value)}}function Gte(e){let t=j(e.locale)?e.locale:dn,n=j(e.fallbackLocale)||tt(e.fallbackLocale)||ct(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=nt(e.missing)?e.missing:void 0,i=rt(e.silentTranslationWarn)||Ue(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=rt(e.silentFallbackWarn)||Ue(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=rt(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=ct(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=nt(e.postTranslation)?e.postTranslation:void 0,d=j(e.warnHtmlInMessage)?e.warnHtmlInMessage!==`off`:!0,f=!!e.escapeParameterHtml,p=rt(e.sync)?e.sync:!0,m=e.messages;if(ct(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(Ge(e[n]||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function br(e={}){let t=dr(Gte(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return rt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=rt(e)?!e:e},get silentFallbackWarn(){return rt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=rt(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,process.env.NODE_ENV!==`production`&&(r.__enableEmitter=e=>{let n=t;n[Xn]&&n[Xn](e)},r.__disableEmitter=()=>{let e=t;e[Zn]&&e[Zn]()}),r}function Kte(e,t,n){return{beforeCreate(){let r=sr();if(!r)throw Kn(Gn.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=xr(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=br(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=xr(e,i);else{this.$i18n=br({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&ar(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){if(process.env.NODE_ENV!==`production`&&this.$i18n){let e=sr();if(!e)return;let t=this.$i18n;e.__VUE_I18N__=t.__composer;let n=this.__v_emitter=pt();t.__enableEmitter&&t.__enableEmitter(n),n.on(`*`,yr)}},unmounted(){let e=sr();if(!e)throw Kn(Gn.UNEXPECTED_ERROR);let t=this.$i18n;process.env.NODE_ENV!==`production`&&e.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off(`*`,yr),delete this.__v_emitter),this.$i18n&&(t.__disableEmitter&&t.__disableEmitter(),delete e.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function xr(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Qn](t.pluralizationRules||e.pluralizationRules);let n=ir(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Sr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function qte({slots:t},n){return n.length===1&&n[0]===`default`?(t.default?t.default():[]).reduce((t,n)=>[...t,...n.type===e.Fragment?n.children:[n]],[]):n.reduce((e,n)=>{let r=t[n];return r&&(e[n]=r()),e},qe())}function Cr(){return e.Fragment}var wr=(0,e.defineComponent)({name:`i18n-t`,props:Ge({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ve(e)||!isNaN(e)}},Sr),setup(t,n){let{slots:r,attrs:i}=n,a=t.i18n||kr({useScope:t.scope,__useComponent:!0});return()=>{let o=Object.keys(r).filter(e=>e[0]!==`_`),s=qe();t.locale&&(s.locale=t.locale),t.plural!==void 0&&(s.plural=j(t.plural)?+t.plural:t.plural);let c=qte(n,o),l=a[qn](t.keypath,c,s),u=Ge(qe(),i);return(0,e.h)(j(t.tag)||it(t.tag)?t.tag:Cr(),u,l)}}});function Jte(e){return tt(e)&&!j(e[0])}function Tr(t,n,r,i){let{slots:a,attrs:o}=n;return()=>{let n={part:!0},s=qe();t.locale&&(n.locale=t.locale),j(t.format)?n.key=t.format:it(t.format)&&(j(t.format.key)&&(n.key=t.format.key),s=Object.keys(t.format).reduce((e,n)=>r.includes(n)?Ge(qe(),e,{[n]:t.format[n]}):e,qe()));let c=i(t.value,n,s),l=[n.key];tt(c)?l=c.map((e,t)=>{let n=a[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];return Jte(r)&&(r[0].key=`${e.type}-${t}`),r}):j(c)&&(l=[c]);let u=Ge(qe(),o);return(0,e.h)(j(t.tag)||it(t.tag)?t.tag:Cr(),u,l)}}var Er=(0,e.defineComponent)({name:`i18n-n`,props:Ge({value:{type:Number,required:!0},format:{type:[String,Object]}},Sr),setup(e,t){let n=e.i18n||kr({useScope:e.scope,__useComponent:!0});return Tr(e,t,Mn,(...e)=>n[Yn](...e))}});function Yte(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Xte(t){let n=e=>{process.env.NODE_ENV!==`production`&&Me(nr(tr.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));let{instance:n,value:r}=e;if(!n||!n.$)throw Kn(Gn.UNEXPECTED_ERROR);let i=Yte(t,n.$),a=Dr(r);return[Reflect.apply(i.t,i,[...Or(a)]),i]};return{created:(r,i)=>{let[a,o]=n(i);Ne&&t.global===o&&(r.__i18nWatcher=(0,e.watch)(o.locale,()=>{i.instance&&i.instance.$forceUpdate()})),r.__composer=o,r.textContent=a},unmounted:e=>{Ne&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Dr(t);e.textContent=Reflect.apply(n.t,n,[...Or(r)])}},getSSRProps:e=>{let[t]=n(e);return{textContent:t}}}}function Dr(e){if(j(e))return{path:e};if(ct(e)){if(!(`path`in e))throw Kn(Gn.REQUIRED_VALUE,`path`);return e}else throw Kn(Gn.INVALID_VALUE)}function Or(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return j(n)&&(o.locale=n),Ve(i)&&(o.plural=i),Ve(a)&&(o.plural=a),[t,s,o]}function Zte(e,t,...n){let r=ct(n[0])?n[0]:{};(!rt(r.globalInstall)||r.globalInstall)&&([wr.name,`I18nT`].forEach(t=>e.component(t,wr)),[Er.name,`I18nN`].forEach(t=>e.component(t,Er)),[jr.name,`I18nD`].forEach(t=>e.component(t,jr))),e.directive(`t`,Xte(t))}var Qte=Re(`global-vue-i18n`);function $te(e={}){let t=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;process.env.NODE_ENV!==`production`&&t&&Me(nr(tr.DEPRECATE_LEGACY_MODE));let n=rt(e.globalInjection)?e.globalInjection:!0,r=new Map,[i,a]=ene(e,t),o=Re(process.env.NODE_ENV===`production`?``:`vue-i18n`);function s(e){return r.get(e)||null}function c(e,t){r.set(e,t)}function l(e){r.delete(e)}let u={get mode(){return __VUE_I18N_LEGACY_API__&&t?`legacy`:`composition`},async install(e,...r){if(process.env.NODE_ENV!==`production`&&(e.__VUE_I18N__=u),e.__VUE_I18N_SYMBOL__=o,e.provide(e.__VUE_I18N_SYMBOL__,u),ct(r[0])){let e=r[0];u.__composerExtend=e.__composerExtend,u.__vueI18nExtend=e.__vueI18nExtend}let i=null;!t&&n&&(i=cne(e,u.global)),__VUE_I18N_FULL_INSTALL__&&Zte(e,u,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin(Kte(a,a.__composer,u));let s=e.unmount;if(e.unmount=()=>{i&&i(),u.dispose(),s()},process.env.NODE_ENV!==`production`){if(!await Pte(e,u))throw Kn(Gn.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);let n=pt();if(t){let e=a;e.__enableEmitter&&e.__enableEmitter(n)}else{let e=a;e[Xn]&&e[Xn](n)}n.on(`*`,yr)}},get global(){return a},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:c,__deleteInstance:l};return u}function kr(e={}){let t=sr();if(t==null)throw Kn(Gn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Kn(Gn.NOT_INSTALLED);let n=tne(t),r=rne(n),i=Ate(t),a=nne(e,i);if(a===`global`)return ar(r,e,i),r;if(a===`parent`){let i=ine(n,t,e.__useComponent);return i??=(process.env.NODE_ENV!==`production`&&Ae(nr(tr.NOT_FOUND_PARENT_SCOPE)),r),i}let o=n,s=o.__getInstance(t);if(s==null){let n=Ge({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=dr(n),o.__composerExtend&&(s[er]=o.__composerExtend(s)),one(o,t,s),o.__setInstance(t,s)}else process.env.NODE_ENV!==`production`&&a===`local`&&Ae(nr(tr.DUPLICATE_USE_I18N_CALLING));return s}function ene(t,n){let r=(0,e.effectScope)(),i=__VUE_I18N_LEGACY_API__&&n?r.run(()=>br(t)):r.run(()=>dr(t));if(i==null)throw Kn(Gn.UNEXPECTED_ERROR);return[r,i]}function tne(t){let n=(0,e.inject)(t.isCE?Qte:t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Kn(t.isCE?Gn.NOT_INSTALLED_WITH_PROVIDE:Gn.UNEXPECTED_ERROR);return n}function nne(e,t){return We(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function rne(e){return e.mode===`composition`?e.global:e.global.__composer}function ine(e,t,n=!1){let r=null,i=t.root,a=ane(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[$n]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function ane(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function one(t,n,r){let i=null;(0,e.onMounted)(()=>{if(process.env.NODE_ENV!==`production`){n.__VUE_I18N__=r,i=pt();let e=r;e[Xn]&&e[Xn](i),i.on(`*`,yr)}},n),(0,e.onUnmounted)(()=>{let e=r;process.env.NODE_ENV!==`production`&&(i&&i.off(`*`,yr),e[Zn]&&e[Zn](),delete n.__VUE_I18N__),t.__deleteInstance(n);let a=e[er];a&&(a(),delete e[er])},n)}var sne=[`locale`,`fallbackLocale`,`availableLocales`],Ar=[`t`,`rt`,`d`,`n`,`tm`,`te`];function cne(t,n){let r=Object.create(null);return sne.forEach(t=>{let i=Object.getOwnPropertyDescriptor(n,t);if(!i)throw Kn(Gn.UNEXPECTED_ERROR);let a=(0,e.isRef)(i.value)?{get(){return i.value.value},set(e){i.value.value=e}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,t,a)}),t.config.globalProperties.$i18n=r,Ar.forEach(e=>{let r=Object.getOwnPropertyDescriptor(n,e);if(!r||!r.value)throw Kn(Gn.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${e}`,r)}),()=>{delete t.config.globalProperties.$i18n,Ar.forEach(e=>{delete t.config.globalProperties[`$${e}`]})}}var jr=(0,e.defineComponent)({name:`i18n-d`,props:Ge({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sr),setup(e,t){let n=e.i18n||kr({useScope:e.scope,__useComponent:!0});return Tr(e,t,On,(...e)=>n[Jn](...e))}});if(Dte(),$ee(Iee),ete(Yee),tte(tn),process.env.NODE_ENV!==`production`||__INTLIFY_PROD_DEVTOOLS__){let e=Ye();e.__INTLIFY__=!0,Lee(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;var lne={unsaved:{tips:`UNSAVED CHANGES`,save:`SAVE`,cancel:`CANCEL`},notData:`No data`,select:{multiple:`Selected`,item:`items`},fileUpload:{label:`Attachment`,remove:`Remove`,placeholder:`Choose file`,maxSize:`Maximum size of attachments {size} MB`,limit:`Maximum size of attachments cannot exceed`,drag:`Drop the file here or <em>click to upload</em>`,fileName:`Attachment name`,pass:`Password`,setPass:`Set download password >`,confirm:`Confirm`,cancel:`Cancel`,image:`Image upload`,delete:{heading:`Delete this image?`,subheading:`Are you sure you want to delete this image? This operation cannot be undone.`},deleteFile:{heading:`Delete this file?`,subheading:`Are you sure you want to delete this file? This operation cannot be undone.`},alt:{label:`ALT`,heading:`Edit Image Alt Information`,subheading:`Add a short description to the image to improve its chances of being indexed by search engines`},entity:{coverImage:{label:`Cover Image`,tips:``,placeholder:`Cover Image`,required:`Please enter cover image`,custom:``},title:{label:`File Name`,tips:``,placeholder:`File Name`,required:`Please enter file name`,custom:``},url:{label:`File Address`,tips:``,placeholder:`File Address`,required:`Please enter file address`,custom:``},description:{label:`Brief Introduction`,tips:``,placeholder:`Brief introduction`,required:`Please enter a brief introduction`,custom:``}}},editor:{placeholder:`Type or paste your content here!`},back:`Back`},une={unsaved:{tips:`未保存的更改`,save:`保存`,cancel:`取消`},notData:`数据为空`,select:{multiple:`已选中 {0} 个`},fileUpload:{label:`附件`,remove:`移除`,placeholder:`Choose file`,maxSize:`附件最大 {size} MB`,limit:`附件最大不能超过`,drag:`将文件拖放到这里或 <em>点击上传</em>`,fileName:`附件名称`,pass:`密码`,setPass:`设置下载密码 >`,confirm:`确定`,cancel:`取消`,image:`图片上传`,delete:{heading:`删除此图像?`,subheading:`是否确实要删除此图像?此操作无法撤消。`},deleteFile:{heading:`删除此文件?`,subheading:`是否确实要删除此文件?此操作无法撤消。`},alt:{label:`ALT`,heading:`编辑图片 Alt 信息`,subheading:`为图片添加简短的描述,提高被搜索引擎收录机会`},entity:{coverImage:{label:`封面图片`,tips:``,placeholder:`封面图片`,required:`请输入封面图片`,custom:``},title:{label:`文件名称`,tips:``,placeholder:`文件名称`,required:`请输入文件名称`,custom:``},url:{label:`文件地址`,tips:``,placeholder:`文件地址`,required:`请输入文件地址`,custom:``},description:{label:`简要介绍`,tips:``,placeholder:`简要介绍`,required:`请输入简要介绍`,custom:``}}},editor:{placeholder:`在此处输入或粘贴您的内容!`},back:`返回`},Mr=$te({fallbackLocale:`en`,globalInjection:!0,locale:(()=>{let e=localStorage.getItem(`ogaLocale`);return e||=navigator.language,e!=null&&(e=`en|zh-CN`.indexOf(e)>-1?e:`en`),localStorage.setItem(`ogaLocale`,e),e})(),messages:{"zh-CN":{...une,main:{}},en:{...lne,main:{}}}}),dne={key:0,class:`oga-navigation`},fne={class:`oga-navigation-item`},pne={key:2,class:`text-large font-600`},Nr=(0,e.defineComponent)({__name:`index`,props:{offset:{type:Number,default:()=>240},navigationOffset:{type:Number,default:()=>450},padding:{type:Boolean,default:()=>!0},navigation:{type:Boolean,default:()=>!0},breadcrumb:{type:Boolean,default:()=>!1},navigationRight:{type:Boolean,default:!0},color:{type:String,default:``}},setup(n){let r=(0,e.ref)({}),i=n,a=(0,t.useRoute)(),o=(0,t.useRouter)();r.value={"--offset":i.offset,"--fixed":i.navigationOffset},ee(i.color)&&(r.value[`--color`]=i.color);let s=(0,e.ref)([]),c=(e,t)=>{let n=t;return Object.keys(e).forEach(t=>{let r=e[t];r&&(n=n.replace(RegExp(`:${t}:`,`g`),String(r)))}),n},l=e=>{let t=[],{matched:n,params:r}=e;return n.forEach((e,n)=>{let i=e.meta;if(i.crumbs?.length&&i.crumbs.forEach(e=>{if(!e.path||!e.title)return;let n=c(r,e.path);t.some(e=>e.path===n)||t.push({path:n,title:e.title})}),i.title&&e.path&&n>0){let n=c(r,e.path);t.some(e=>e.path===n)||t.push({path:n,title:i.title})}}),t},u=()=>{let e=s.value;e.length>=2&&e[e.length-2]?.path&&o.push({path:e[e.length-2].path})};return(0,e.watch)(()=>a.path,()=>{s.value=l(a)},{immediate:!0}),(t,i)=>{let a=(0,e.resolveComponent)(`el-icon`),o=(0,e.resolveComponent)(`el-breadcrumb-item`),c=(0,e.resolveComponent)(`el-breadcrumb`),l=(0,e.resolveComponent)(`el-divider`);return(0,e.openBlock)(),(0,e.createElementBlock)(`main`,{class:`oga-page`,style:(0,e.normalizeStyle)(r.value)},[n.navigation?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,dne,[s.value.length>1?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,class:`oga-header-icon`,onClick:u},[(0,e.createVNode)(a,null,{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(ve))]),_:1}),(0,e.createTextVNode)(` `+(0,e.toDisplayString)((0,e.unref)(Mr).global.t(`back`)),1)])):(0,e.createCommentVNode)(`v-if`,!0),s.value.length>1&&n.breadcrumb?((0,e.openBlock)(),(0,e.createBlock)(c,{key:1,separator:`/`},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(s.value,({title:t,path:n},r)=>((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,null,[r<s.value.length-1?((0,e.openBlock)(),(0,e.createBlock)(o,{key:r,class:`oga-navigation-link`,to:s.value.length-1!==r&&{path:n}},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t),1)]),_:2},1032,[`to`])):(0,e.createCommentVNode)(`v-if`,!0)],64))),256))]),_:1})):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,fne,[s.value.length>1?((0,e.openBlock)(),(0,e.createBlock)(l,{key:0,direction:`vertical`,"border-style":`dashed`})):(0,e.createCommentVNode)(`v-if`,!0)]),s.value.length>0?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,pne,(0,e.toDisplayString)(s.value[s.value.length-1]?.title),1)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)([`oga-navigation-item`,n.navigationRight?`is-right`:``])},[t.$slots.navigation?(0,e.renderSlot)(t.$slots,`navigation`,{key:0}):(0,e.createCommentVNode)(`v-if`,!0)],2)])):(0,e.createCommentVNode)(`v-if`,!0),t.$slots.header?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,class:(0,e.normalizeClass)([`oga-page-header`,n.padding?`has-padding`:``])},[(0,e.renderSlot)(t.$slots,`header`)],2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`section`,{class:(0,e.normalizeClass)([`oga-page-content`,n.padding?`has-padding`:``])},[(0,e.renderSlot)(t.$slots,`default`)],2),t.$slots.footer?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:2,class:(0,e.normalizeClass)([`oga-page-footer`,n.padding?`has-padding`:``])},[(0,e.renderSlot)(t.$slots,`footer`)],2)):(0,e.createCommentVNode)(`v-if`,!0)],4)}}}),mne={install(e){e.component(`OgaPage`,Nr)}},hne=m((0,e.defineComponent)({__name:`index`,props:{borderless:{type:Boolean,default:()=>!0}},setup(t){let n=t,r=(0,e.useAttrs)();return r={...r,...n},(n,i)=>{let a=(0,e.resolveComponent)(`el-form`);return(0,e.openBlock)(),(0,e.createBlock)(a,(0,e.mergeProps)({class:[`oga-form`,t.borderless?`borderless`:``]},(0,e.unref)(r)),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(n.$slots,`default`,{},void 0,!0)]),_:3},16,[`class`])}}}),[[`__scopeId`,`data-v-1f902fa8`]]),gne={install(e){e.component(`OgaForm`,hne)}},_ne=m((0,e.defineComponent)({__name:`index`,props:{showMessage:{type:Boolean,default:()=>!1}},setup(t){let n=t,r=(0,e.useAttrs)();return r={...r,...n},(n,i)=>{let a=(0,e.resolveComponent)(`el-form-item`);return(0,e.openBlock)(),(0,e.createBlock)(a,(0,e.mergeProps)({class:t.showMessage?``:`gutter-less`},(0,e.unref)(r)),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(n.$slots,`default`,{},void 0,!0)]),_:3},16,[`class`])}}}),[[`__scopeId`,`data-v-1e76eef6`]]),vne={install(e){e.component(`OgaFormItem`,_ne)}},yne={class:`oga-unsaved-label`},bne={class:`oga-unsaved-button`},xne=m((0,e.defineComponent)({__name:`index`,props:(0,e.mergeModels)({tips:{type:String,default:()=>Mr.global.t(`unsaved.tips`)},offset:{type:[String,Number],default:()=>200},height:{type:Number,default:()=>60},top:{type:Number,default:()=>0},loading:{type:Boolean,default:()=>!1},round:{type:Boolean,default:()=>!1}},{modelValue:{},modelModifiers:{}}),emits:(0,e.mergeModels)([`cancel`,`confirmed`],[`update:modelValue`]),setup(t,{emit:n}){let r=(0,e.useModel)(t,`modelValue`),i=n,a=t,o=(0,e.ref)({}),s=()=>{let e=a.offset;typeof e==`number`&&e>0&&e!==200&&(e+=`px`),e!==`200px`&&(o.value.width=`calc(100% - ${e})`),a.height!==60&&(o.value.height=`${a.height}px`),a.top&&a.top!==60&&a.top>-1&&(o.value.top=`${a.top}px`)},c=()=>{r.value=!1,i(`cancel`)},l=()=>{i(`confirmed`)};return s(),(n,i)=>{let a=(0,e.resolveComponent)(`el-button`);return(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:`oga-unsaved`,style:(0,e.normalizeStyle)(o.value)},[(0,e.createElementVNode)(`div`,yne,(0,e.toDisplayString)(t.tips),1),(0,e.createElementVNode)(`div`,bne,[(0,e.createVNode)(a,{type:`info`,round:t.round,onClick:c,disabled:t.loading},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(Mr).global.t(`unsaved.cancel`)),1)]),_:1},8,[`round`,`disabled`]),(0,e.createVNode)(a,{type:`primary`,round:t.round,onClick:l,loading:t.loading},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(Mr).global.t(`unsaved.save`)),1)]),_:1},8,[`round`,`loading`])])],4)),[[e.vShow,r.value]])}}}),[[`__scopeId`,`data-v-240d64ce`]]),Pr={install(e){e.component(`OgaUnsaved`,xne)}},Fr=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function Ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function Lr(e){var t={exports:{}};return e(t,t.exports),t.exports}var Rr,zr,Br=function(e){return e&&e.Math==Math&&e},Vr=Br(typeof globalThis==`object`&&globalThis)||Br(typeof window==`object`&&window)||Br(typeof self==`object`&&self)||Br(typeof Fr==`object`&&Fr)||function(){return this}()||Function(`return this`)(),Hr=Function.prototype,Ur=Hr.apply,Sne=Hr.bind,Wr=Hr.call,Gr=typeof Reflect==`object`&&Reflect.apply||(Sne?Wr.bind(Ur):function(){return Wr.apply(Ur,arguments)}),Kr=Function.prototype,qr=Kr.bind,Jr=Kr.call,Cne=qr&&qr.bind(Jr),Yr=qr?function(e){return e&&Cne(Jr,e)}:function(e){return e&&function(){return Jr.apply(e,arguments)}},Xr=function(e){return typeof e==`function`},Zr=function(e){try{return!!e()}catch{return!0}},Qr=!Zr((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),$r=Function.prototype.call,ei=$r.bind?$r.bind($r):function(){return $r.apply($r,arguments)},ti={}.propertyIsEnumerable,ni=Object.getOwnPropertyDescriptor,ri={f:ni&&!ti.call({1:2},1)?function(e){var t=ni(this,e);return!!t&&t.enumerable}:ti},ii=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},wne=Yr({}.toString),Tne=Yr(``.slice),ai=function(e){return Tne(wne(e),8,-1)},oi=Vr.Object,Ene=Yr(``.split),si=Zr((function(){return!oi(`z`).propertyIsEnumerable(0)}))?function(e){return ai(e)==`String`?Ene(e,``):oi(e)}:oi,Dne=Vr.TypeError,ci=function(e){if(e==null)throw Dne(`Can't call method on `+e);return e},li=function(e){return si(ci(e))},ui=function(e){return typeof e==`object`?e!==null:Xr(e)},di={},fi=function(e){return Xr(e)?e:void 0},pi=function(e,t){return arguments.length<2?fi(di[e])||fi(Vr[e]):di[e]&&di[e][t]||Vr[e]&&Vr[e][t]},mi=Yr({}.isPrototypeOf),hi=pi(`navigator`,`userAgent`)||``,gi=Vr.process,_i=Vr.Deno,vi=gi&&gi.versions||_i&&_i.version,yi=vi&&vi.v8;yi&&(zr=(Rr=yi.split(`.`))[0]>0&&Rr[0]<4?1:+(Rr[0]+Rr[1])),!zr&&hi&&(!(Rr=hi.match(/Edge\/(\d+)/))||Rr[1]>=74)&&(Rr=hi.match(/Chrome\/(\d+)/))&&(zr=+Rr[1]);var bi,xi=zr,Si=!!Object.getOwnPropertySymbols&&!Zr((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xi&&xi<41})),Ci=Si&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,One=Vr.Object,wi=Ci?function(e){return typeof e==`symbol`}:function(e){var t=pi(`Symbol`);return Xr(t)&&mi(t.prototype,One(e))},kne=Vr.String,Ti=function(e){try{return kne(e)}catch{return`Object`}},Ei=Vr.TypeError,Di=function(e){if(Xr(e))return e;throw Ei(Ti(e)+` is not a function`)},Oi=function(e,t){var n=e[t];return n==null?void 0:Di(n)},ki=Vr.TypeError,Ai=Object.defineProperty,ji=Vr[`__core-js_shared__`]||function(e,t){try{Ai(Vr,e,{value:t,configurable:!0,writable:!0})}catch{Vr[e]=t}return t}(`__core-js_shared__`,{}),Mi=Lr((function(e){(e.exports=function(e,t){return ji[e]||(ji[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`pure`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),Ni=Vr.Object,Pi=function(e){return Ni(ci(e))},Ane=Yr({}.hasOwnProperty),Fi=Object.hasOwn||function(e,t){return Ane(Pi(e),t)},jne=0,Mne=Math.random(),Nne=Yr(1 .toString),Ii=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+Nne(++jne+Mne,36)},Li=Mi(`wks`),Ri=Vr.Symbol,zi=Ri&&Ri.for,Pne=Ci?Ri:Ri&&Ri.withoutSetter||Ii,Bi=function(e){if(!Fi(Li,e)||!Si&&typeof Li[e]!=`string`){var t=`Symbol.`+e;Si&&Fi(Ri,e)?Li[e]=Ri[e]:Li[e]=Ci&&zi?zi(t):Pne(t)}return Li[e]},Fne=Vr.TypeError,Ine=Bi(`toPrimitive`),Lne=function(e,t){if(!ui(e)||wi(e))return e;var n,r=Oi(e,Ine);if(r){if(t===void 0&&(t=`default`),n=ei(r,e,t),!ui(n)||wi(n))return n;throw Fne(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&Xr(n=e.toString)&&!ui(r=ei(n,e))||Xr(n=e.valueOf)&&!ui(r=ei(n,e))||t!==`string`&&Xr(n=e.toString)&&!ui(r=ei(n,e)))return r;throw ki(`Can't convert object to primitive value`)}(e,t)},Vi=function(e){var t=Lne(e,`string`);return wi(t)?t:t+``},Hi=Vr.document,Rne=ui(Hi)&&ui(Hi.createElement),Ui=function(e){return Rne?Hi.createElement(e):{}},Wi=!Qr&&!Zr((function(){return Object.defineProperty(Ui(`div`),`a`,{get:function(){return 7}}).a!=7})),Gi=Object.getOwnPropertyDescriptor,Ki={f:Qr?Gi:function(e,t){if(e=li(e),t=Vi(t),Wi)try{return Gi(e,t)}catch{}if(Fi(e,t))return ii(!ei(ri.f,e,t),e[t])}},zne=/#|\.prototype\./,qi=function(e,t){var n=Vne[Bne(e)];return n==Une||n!=Hne&&(Xr(t)?Zr(t):!!t)},Bne=qi.normalize=function(e){return String(e).replace(zne,`.`).toLowerCase()},Vne=qi.data={},Hne=qi.NATIVE=`N`,Une=qi.POLYFILL=`P`,Wne=qi,Ji=Yr(Yr.bind),Yi=function(e,t){return Di(e),t===void 0?e:Ji?Ji(e,t):function(){return e.apply(t,arguments)}},Gne=Vr.String,Kne=Vr.TypeError,Xi=function(e){if(ui(e))return e;throw Kne(Gne(e)+` is not an object`)},qne=Vr.TypeError,Zi=Object.defineProperty,Qi={f:Qr?Zi:function(e,t,n){if(Xi(e),t=Vi(t),Xi(n),Wi)try{return Zi(e,t,n)}catch{}if(`get`in n||`set`in n)throw qne(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},$i=Qr?function(e,t,n){return Qi.f(e,t,ii(1,n))}:function(e,t,n){return e[t]=n,e},Jne=Ki.f,Yne=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return Gr(e,this,arguments)};return t.prototype=e.prototype,t},ea=function(e,t){var n,r,i,a,o,s,c,l,u=e.target,d=e.global,f=e.stat,p=e.proto,m=d?Vr:f?Vr[u]:(Vr[u]||{}).prototype,h=d?di:di[u]||$i(di,u,{})[u],g=h.prototype;for(i in t)n=!Wne(d?i:u+(f?`.`:`#`)+i,e.forced)&&m&&Fi(m,i),o=h[i],n&&(s=e.noTargetGet?(l=Jne(m,i))&&l.value:m[i]),a=n&&s?s:t[i],n&&typeof o==typeof a||(c=e.bind&&n?Yi(a,Vr):e.wrap&&n?Yne(a):p&&Xr(a)?Yr(a):a,(e.sham||a&&a.sham||o&&o.sham)&&$i(c,`sham`,!0),$i(h,i,c),p&&(Fi(di,r=u+`Prototype`)||$i(di,r,{}),$i(di[r],i,a),e.real&&g&&!g[i]&&$i(g,i,a)))},ta=Mi(`keys`),na=function(e){return ta[e]||(ta[e]=Ii(e))},Xne=!Zr((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ra=na(`IE_PROTO`),ia=Vr.Object,Zne=ia.prototype,aa=Xne?ia.getPrototypeOf:function(e){var t=Pi(e);if(Fi(t,ra))return t[ra];var n=t.constructor;return Xr(n)&&t instanceof n?n.prototype:t instanceof ia?Zne:null},Qne=Vr.String,$ne=Vr.TypeError,oa=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=Yr(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return Xi(n),function(e){if(typeof e==`object`||Xr(e))return e;throw $ne(`Can't set `+Qne(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),ere=Math.ceil,tre=Math.floor,sa=function(e){var t=+e;return t!=t||t===0?0:(t>0?tre:ere)(t)},nre=Math.max,rre=Math.min,ca=function(e,t){var n=sa(e);return n<0?nre(n+t,0):rre(n,t)},ire=Math.min,la=function(e){return(t=e.length)>0?ire(sa(t),9007199254740991):0;var t},ua=function(e){return function(t,n,r){var i,a=li(t),o=la(a),s=ca(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},are={includes:ua(!0),indexOf:ua(!1)},da={},ore=are.indexOf,fa=Yr([].push),pa=function(e,t){var n,r=li(e),i=0,a=[];for(n in r)!Fi(da,n)&&Fi(r,n)&&fa(a,n);for(;t.length>i;)Fi(r,n=t[i++])&&(~ore(a,n)||fa(a,n));return a},ma=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],sre=ma.concat(`length`,`prototype`),ha={f:Object.getOwnPropertyNames||function(e){return pa(e,sre)}},ga={f:Object.getOwnPropertySymbols},cre=Yr([].concat),lre=pi(`Reflect`,`ownKeys`)||function(e){var t=ha.f(Xi(e)),n=ga.f;return n?cre(t,n(e)):t},_a=Object.keys||function(e){return pa(e,ma)},ure=Qr?Object.defineProperties:function(e,t){Xi(e);for(var n,r=li(t),i=_a(t),a=i.length,o=0;a>o;)Qi.f(e,n=i[o++],r[n]);return e},dre=pi(`document`,`documentElement`),va=na(`IE_PROTO`),ya=function(){},ba=function(e){return`<script>`+e+`<\/script>`},xa=function(e){e.write(ba(``)),e.close();var t=e.parentWindow.Object;return e=null,t},Sa=function(){try{bi=new ActiveXObject(`htmlfile`)}catch{}var e,t;Sa=typeof document<`u`?document.domain&&bi?xa(bi):((t=Ui(`iframe`)).style.display=`none`,dre.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(ba(`document.F=Object`)),e.close(),e.F):xa(bi);for(var n=ma.length;n--;)delete Sa.prototype[ma[n]];return Sa()};da[va]=!0;var Ca=Object.create||function(e,t){var n;return e===null?n=Sa():(ya.prototype=Xi(e),n=new ya,ya.prototype=null,n[va]=e),t===void 0?n:ure(n,t)},wa=function(e,t,n){var r=Vi(t);r in e?Qi.f(e,r,ii(0,n)):e[r]=n},fre=Vr.Array,pre=Math.max,Ta=function(e,t,n){for(var r=la(e),i=ca(t,r),a=ca(n===void 0?r:n,r),o=fre(pre(a-i,0)),s=0;i<a;i++,s++)wa(o,s,e[i]);return o.length=s,o},Ea=Yr(``.replace),Da=Yr(``.split),Oa=Yr([].join),ka=String(Error(`zxcasd`).stack),Aa=/\n\s*at [^:]*:[^\n]*/,ja=Aa.test(ka),Ma=/@[^\n]*\n/.test(ka)&&!/zxcasd/.test(ka),Na=function(e,t){if(typeof e!=`string`)return e;if(ja)for(;t--;)e=Ea(e,Aa,``);else if(Ma)return Oa(Ta(Da(e,`
6
+ `),t),`
7
+ `);return e},Pa=function(e,t){ui(t)&&`cause`in t&&$i(e,`cause`,t.cause)},Fa={},Ia=Bi(`iterator`),La=Array.prototype,Ra={};Ra[Bi(`toStringTag`)]=`z`;var za=String(Ra)===`[object z]`,Ba=Bi(`toStringTag`),Va=Vr.Object,Ha=ai(function(){return arguments}())==`Arguments`,Ua=za?ai:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=Va(e),Ba))==`string`?n:Ha?ai(t):(r=ai(t))==`Object`&&Xr(t.callee)?`Arguments`:r},Wa=Bi(`iterator`),Ga=function(e){if(e!=null)return Oi(e,Wa)||Oi(e,`@@iterator`)||Fa[Ua(e)]},mre=Vr.TypeError,Ka=function(e,t,n){var r,i;Xi(e);try{if(!(r=Oi(e,`return`))){if(t===`throw`)throw n;return n}r=ei(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return Xi(r),n},hre=Vr.TypeError,qa=function(e,t){this.stopped=e,this.result=t},Ja=qa.prototype,gre=function(e,t,n){var r,i,a,o,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=Yi(t,u),h=function(e){return r&&Ka(r,`normal`,e),new qa(!0,e)},g=function(e){return d?(Xi(e),p?m(e[0],e[1],h):m(e[0],e[1])):p?m(e,h):m(e)};if(f)r=e;else{if(!(i=Ga(e)))throw hre(Ti(e)+` is not iterable`);if(function(e){return e!==void 0&&(Fa.Array===e||La[Ia]===e)}(i)){for(a=0,o=la(e);o>a;a++)if((s=g(e[a]))&&mi(Ja,s))return s;return new qa(!1)}r=function(e,t){var n=arguments.length<2?Ga(e):t;if(Di(n))return Xi(ei(n,e));throw mre(Ti(e)+` is not iterable`)}(e,i)}for(c=r.next;!(l=ei(c,r)).done;){try{s=g(l.value)}catch(e){Ka(r,`throw`,e)}if(typeof s==`object`&&s&&mi(Ja,s))return s}return new qa(!1)},_re=Vr.String,Ya=function(e){if(Ua(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return _re(e)},vre=function(e,t){return e===void 0?arguments.length<2?``:t:Ya(e)},yre=!Zr((function(){var e=Error(`a`);return!(`stack`in e)||(Object.defineProperty(e,`stack`,ii(1,7)),e.stack!==7)})),bre=Bi(`toStringTag`),Xa=Vr.Error,xre=[].push,Za=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=mi(Qa,this);oa?n=oa(new Xa(void 0),i?aa(this):Qa):(n=i?this:Ca(Qa),$i(n,bre,`Error`)),$i(n,`message`,vre(t,``)),yre&&$i(n,`stack`,Na(n.stack,1)),Pa(n,r);var a=[];return gre(e,xre,{that:a}),$i(n,`errors`,a),n};oa?oa(Za,Xa):function(e,t){for(var n=lre(t),r=Qi.f,i=Ki.f,a=0;a<n.length;a++){var o=n[a];Fi(e,o)||r(e,o,i(t,o))}}(Za,Xa);var Qa=Za.prototype=Ca(Xa.prototype,{constructor:ii(1,Za),message:ii(1,``),name:ii(1,`AggregateError`)});ea({global:!0},{AggregateError:Za});var Sre=Yr(Function.toString);Xr(ji.inspectSource)||(ji.inspectSource=function(e){return Sre(e)});var $a,eo,to,no=ji.inspectSource,ro=Vr.WeakMap,Cre=Xr(ro)&&/native code/.test(no(ro)),io=Vr.TypeError,wre=Vr.WeakMap;if(Cre||ji.state){var ao=ji.state||=new wre,Tre=Yr(ao.get),oo=Yr(ao.has),Ere=Yr(ao.set);$a=function(e,t){if(oo(ao,e))throw new io(`Object already initialized`);return t.facade=e,Ere(ao,e,t),t},eo=function(e){return Tre(ao,e)||{}},to=function(e){return oo(ao,e)}}else{var so=na(`state`);da[so]=!0,$a=function(e,t){if(Fi(e,so))throw new io(`Object already initialized`);return t.facade=e,$i(e,so,t),t},eo=function(e){return Fi(e,so)?e[so]:{}},to=function(e){return Fi(e,so)}}var co,lo,uo,fo={set:$a,get:eo,has:to,enforce:function(e){return to(e)?eo(e):$a(e,{})},getterFor:function(e){return function(t){var n;if(!ui(t)||(n=eo(t)).type!==e)throw io(`Incompatible receiver, `+e+` required`);return n}}},po=Function.prototype,Dre=Qr&&Object.getOwnPropertyDescriptor,mo=Fi(po,`name`),Ore={EXISTS:mo,PROPER:mo&&function(){}.name===`something`,CONFIGURABLE:mo&&(!Qr||Qr&&Dre(po,`name`).configurable)},ho=function(e,t,n,r){r&&r.enumerable?e[t]=n:$i(e,t,n)},go=Bi(`iterator`),_o=!1;[].keys&&(`next`in(uo=[].keys())?(lo=aa(aa(uo)))!==Object.prototype&&(co=lo):_o=!0),co=co==null||Zr((function(){var e={};return co[go].call(e)!==e}))?{}:Ca(co),Xr(co[go])||ho(co,go,(function(){return this}));var vo={IteratorPrototype:co,BUGGY_SAFARI_ITERATORS:_o},kre=za?{}.toString:function(){return`[object `+Ua(this)+`]`},Are=Qi.f,yo=Bi(`toStringTag`),bo=function(e,t,n,r){if(e){var i=n?e:e.prototype;Fi(i,yo)||Are(i,yo,{configurable:!0,value:t}),r&&!za&&$i(i,`toString`,kre)}},jre=vo.IteratorPrototype,Mre=function(){return this},Nre=Ore.PROPER,xo=vo.BUGGY_SAFARI_ITERATORS,So=Bi(`iterator`),Pre=function(){return this},Co=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=Ca(jre,{next:ii(+!r,n)}),bo(e,i,!1,!0),Fa[i]=Mre})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!xo&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[So]||p[`@@iterator`]||i&&p[i],h=!xo&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=aa(g.call(new e)))!==Object.prototype&&s.next&&(bo(s,d,!0,!0),Fa[d]=Pre),Nre&&i==`values`&&m&&m.name!==`values`&&(f=!0,h=function(){return ei(m,this)}),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(xo||f||!(l in p))&&ho(p,l,c[l]);else ea({target:t,proto:!0,forced:xo||f},c);return o&&p[So]!==h&&ho(p,So,h,{name:i}),Fa[t]=h,c},Fre=fo.set,Ire=fo.getterFor(`Array Iterator`);Co(Array,`Array`,(function(e,t){Fre(this,{type:`Array Iterator`,target:li(e),index:0,kind:t})}),(function(){var e=Ire(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`),Fa.Arguments=Fa.Array;var Lre=Yr(``.charAt),wo=Yr(``.charCodeAt),Rre=Yr(``.slice),To=function(e){return function(t,n){var r,i,a=Ya(ci(t)),o=sa(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=wo(a,o))<55296||r>56319||o+1===s||(i=wo(a,o+1))<56320||i>57343?e?Lre(a,o):r:e?Rre(a,o,o+2):i-56320+(r-55296<<10)+65536}},zre={codeAt:To(!1),charAt:To(!0)}.charAt,Bre=fo.set,Vre=fo.getterFor(`String Iterator`);Co(String,`String`,(function(e){Bre(this,{type:`String Iterator`,string:Ya(e),index:0})}),(function(){var e,t=Vre(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=zre(n,r),t.index+=e.length,{value:e,done:!1})}));var Hre=di.AggregateError,Eo=Bi(`toStringTag`);for(var Do in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Oo=Vr[Do],ko=Oo&&Oo.prototype;ko&&Ua(ko)!==Eo&&$i(ko,Eo,Do),Fa[Do]=Fa.Array}var Ao,jo,Ure=Hre,Mo=function(e){return e&&e.Math==Math&&e},No=Mo(typeof globalThis==`object`&&globalThis)||Mo(typeof window==`object`&&window)||Mo(typeof self==`object`&&self)||Mo(typeof Fr==`object`&&Fr)||function(){return this}()||Function(`return this`)(),Po=function(e){try{return!!e()}catch{return!0}},Fo=!Po((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),Io=Function.prototype.call,Lo=Io.bind?Io.bind(Io):function(){return Io.apply(Io,arguments)},Ro={}.propertyIsEnumerable,zo=Object.getOwnPropertyDescriptor,Wre={f:zo&&!Ro.call({1:2},1)?function(e){var t=zo(this,e);return!!t&&t.enumerable}:Ro},Bo=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Vo=Function.prototype,Ho=Vo.bind,Uo=Vo.call,Gre=Ho&&Ho.bind(Uo),Wo=Ho?function(e){return e&&Gre(Uo,e)}:function(e){return e&&function(){return Uo.apply(e,arguments)}},Kre=Wo({}.toString),qre=Wo(``.slice),Go=function(e){return qre(Kre(e),8,-1)},Ko=No.Object,Jre=Wo(``.split),qo=Po((function(){return!Ko(`z`).propertyIsEnumerable(0)}))?function(e){return Go(e)==`String`?Jre(e,``):Ko(e)}:Ko,Yre=No.TypeError,Jo=function(e){if(e==null)throw Yre(`Can't call method on `+e);return e},Yo=function(e){return qo(Jo(e))},Xo=function(e){return typeof e==`function`},Zo=function(e){return typeof e==`object`?e!==null:Xo(e)},Xre=function(e){return Xo(e)?e:void 0},Qo=function(e,t){return arguments.length<2?Xre(No[e]):No[e]&&No[e][t]},$o=Wo({}.isPrototypeOf),es=Qo(`navigator`,`userAgent`)||``,ts=No.process,ns=No.Deno,rs=ts&&ts.versions||ns&&ns.version,is=rs&&rs.v8;is&&(jo=(Ao=is.split(`.`))[0]>0&&Ao[0]<4?1:+(Ao[0]+Ao[1])),!jo&&es&&(!(Ao=es.match(/Edge\/(\d+)/))||Ao[1]>=74)&&(Ao=es.match(/Chrome\/(\d+)/))&&(jo=+Ao[1]);var as=jo,os=!!Object.getOwnPropertySymbols&&!Po((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&as&&as<41})),ss=os&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,Zre=No.Object,cs=ss?function(e){return typeof e==`symbol`}:function(e){var t=Qo(`Symbol`);return Xo(t)&&$o(t.prototype,Zre(e))},Qre=No.String,ls=function(e){try{return Qre(e)}catch{return`Object`}},$re=No.TypeError,us=function(e){if(Xo(e))return e;throw $re(ls(e)+` is not a function`)},ds=function(e,t){var n=e[t];return n==null?void 0:us(n)},eie=No.TypeError,tie=Object.defineProperty,fs=function(e,t){try{tie(No,e,{value:t,configurable:!0,writable:!0})}catch{No[e]=t}return t},ps=No[`__core-js_shared__`]||fs(`__core-js_shared__`,{}),ms=Lr((function(e){(e.exports=function(e,t){return ps[e]||(ps[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),nie=No.Object,hs=function(e){return nie(Jo(e))},rie=Wo({}.hasOwnProperty),gs=Object.hasOwn||function(e,t){return rie(hs(e),t)},iie=0,aie=Math.random(),oie=Wo(1 .toString),_s=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+oie(++iie+aie,36)},vs=ms(`wks`),ys=No.Symbol,bs=ys&&ys.for,sie=ss?ys:ys&&ys.withoutSetter||_s,xs=function(e){if(!gs(vs,e)||!os&&typeof vs[e]!=`string`){var t=`Symbol.`+e;os&&gs(ys,e)?vs[e]=ys[e]:vs[e]=ss&&bs?bs(t):sie(t)}return vs[e]},cie=No.TypeError,lie=xs(`toPrimitive`),uie=function(e,t){if(!Zo(e)||cs(e))return e;var n,r=ds(e,lie);if(r){if(t===void 0&&(t=`default`),n=Lo(r,e,t),!Zo(n)||cs(n))return n;throw cie(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&Xo(n=e.toString)&&!Zo(r=Lo(n,e))||Xo(n=e.valueOf)&&!Zo(r=Lo(n,e))||t!==`string`&&Xo(n=e.toString)&&!Zo(r=Lo(n,e)))return r;throw eie(`Can't convert object to primitive value`)}(e,t)},Ss=function(e){var t=uie(e,`string`);return cs(t)?t:t+``},Cs=No.document,die=Zo(Cs)&&Zo(Cs.createElement),ws=function(e){return die?Cs.createElement(e):{}},Ts=!Fo&&!Po((function(){return Object.defineProperty(ws(`div`),`a`,{get:function(){return 7}}).a!=7})),Es=Object.getOwnPropertyDescriptor,Ds={f:Fo?Es:function(e,t){if(e=Yo(e),t=Ss(t),Ts)try{return Es(e,t)}catch{}if(gs(e,t))return Bo(!Lo(Wre.f,e,t),e[t])}},fie=No.String,pie=No.TypeError,Os=function(e){if(Zo(e))return e;throw pie(fie(e)+` is not an object`)},mie=No.TypeError,ks=Object.defineProperty,As={f:Fo?ks:function(e,t,n){if(Os(e),t=Ss(t),Os(n),Ts)try{return ks(e,t,n)}catch{}if(`get`in n||`set`in n)throw mie(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},js=Fo?function(e,t,n){return As.f(e,t,Bo(1,n))}:function(e,t,n){return e[t]=n,e},hie=Wo(Function.toString);Xo(ps.inspectSource)||(ps.inspectSource=function(e){return hie(e)});var Ms,Ns,Ps,Fs=ps.inspectSource,Is=No.WeakMap,gie=Xo(Is)&&/native code/.test(Fs(Is)),Ls=ms(`keys`),Rs=function(e){return Ls[e]||(Ls[e]=_s(e))},zs={},Bs=No.TypeError,_ie=No.WeakMap;if(gie||ps.state){var Vs=ps.state||=new _ie,vie=Wo(Vs.get),Hs=Wo(Vs.has),yie=Wo(Vs.set);Ms=function(e,t){if(Hs(Vs,e))throw new Bs(`Object already initialized`);return t.facade=e,yie(Vs,e,t),t},Ns=function(e){return vie(Vs,e)||{}},Ps=function(e){return Hs(Vs,e)}}else{var Us=Rs(`state`);zs[Us]=!0,Ms=function(e,t){if(gs(e,Us))throw new Bs(`Object already initialized`);return t.facade=e,js(e,Us,t),t},Ns=function(e){return gs(e,Us)?e[Us]:{}},Ps=function(e){return gs(e,Us)}}var Ws={set:Ms,get:Ns,has:Ps,enforce:function(e){return Ps(e)?Ns(e):Ms(e,{})},getterFor:function(e){return function(t){var n;if(!Zo(t)||(n=Ns(t)).type!==e)throw Bs(`Incompatible receiver, `+e+` required`);return n}}},Gs=Function.prototype,bie=Fo&&Object.getOwnPropertyDescriptor,Ks=gs(Gs,`name`),qs={EXISTS:Ks,PROPER:Ks&&function(){}.name===`something`,CONFIGURABLE:Ks&&(!Fo||Fo&&bie(Gs,`name`).configurable)},Js=Lr((function(e){var t=qs.CONFIGURABLE,n=Ws.get,r=Ws.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;Xo(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!gs(a,`name`)||t&&a.name!==d)&&js(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===No?l?e[n]=a:fs(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:js(e,n,a))})(Function.prototype,`toString`,(function(){return Xo(this)&&n(this).source||Fs(this)}))})),xie=Math.ceil,Sie=Math.floor,Ys=function(e){var t=+e;return t!=t||t===0?0:(t>0?Sie:xie)(t)},Cie=Math.max,wie=Math.min,Xs=function(e,t){var n=Ys(e);return n<0?Cie(n+t,0):wie(n,t)},Tie=Math.min,Zs=function(e){return e>0?Tie(Ys(e),9007199254740991):0},Qs=function(e){return Zs(e.length)},$s=function(e){return function(t,n,r){var i,a=Yo(t),o=Qs(a),s=Xs(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Eie={includes:$s(!0),indexOf:$s(!1)}.indexOf,ec=Wo([].push),tc=function(e,t){var n,r=Yo(e),i=0,a=[];for(n in r)!gs(zs,n)&&gs(r,n)&&ec(a,n);for(;t.length>i;)gs(r,n=t[i++])&&(~Eie(a,n)||ec(a,n));return a},nc=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],Die=nc.concat(`length`,`prototype`),Oie={f:Object.getOwnPropertyNames||function(e){return tc(e,Die)}},kie={f:Object.getOwnPropertySymbols},Aie=Wo([].concat),jie=Qo(`Reflect`,`ownKeys`)||function(e){var t=Oie.f(Os(e)),n=kie.f;return n?Aie(t,n(e)):t},rc=function(e,t){for(var n=jie(t),r=As.f,i=Ds.f,a=0;a<n.length;a++){var o=n[a];gs(e,o)||r(e,o,i(t,o))}},Mie=/#|\.prototype\./,ic=function(e,t){var n=Pie[Nie(e)];return n==Iie||n!=Fie&&(Xo(t)?Po(t):!!t)},Nie=ic.normalize=function(e){return String(e).replace(Mie,`.`).toLowerCase()},Pie=ic.data={},Fie=ic.NATIVE=`N`,Iie=ic.POLYFILL=`P`,Lie=ic,Rie=Ds.f,ac=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?No:l?No[s]||fs(s,{}):(No[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=Rie(n,r))&&o.value:n[r],!Lie(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;rc(a,i)}(e.sham||i&&i.sham)&&js(a,`sham`,!0),Js(n,r,a,e)}},oc={};oc[xs(`toStringTag`)]=`z`;var sc,cc=String(oc)===`[object z]`,zie=xs(`toStringTag`),Bie=No.Object,Vie=Go(function(){return arguments}())==`Arguments`,lc=cc?Go:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=Bie(e),zie))==`string`?n:Vie?Go(t):(r=Go(t))==`Object`&&Xo(t.callee)?`Arguments`:r},Hie=No.String,uc=function(e){if(lc(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return Hie(e)},Uie=function(){var e=Os(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},dc=No.RegExp,fc=Po((function(){var e=dc(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),Wie=fc||Po((function(){return!dc(`a`,`y`).sticky})),Gie={BROKEN_CARET:fc||Po((function(){var e=dc(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:Wie,UNSUPPORTED_Y:fc},Kie=Object.keys||function(e){return tc(e,nc)},qie=Fo?Object.defineProperties:function(e,t){Os(e);for(var n,r=Yo(t),i=Kie(t),a=i.length,o=0;a>o;)As.f(e,n=i[o++],r[n]);return e},Jie=Qo(`document`,`documentElement`),pc=Rs(`IE_PROTO`),mc=function(){},hc=function(e){return`<script>`+e+`<\/script>`},gc=function(e){e.write(hc(``)),e.close();var t=e.parentWindow.Object;return e=null,t},_c=function(){try{sc=new ActiveXObject(`htmlfile`)}catch{}var e,t;_c=typeof document<`u`?document.domain&&sc?gc(sc):((t=ws(`iframe`)).style.display=`none`,Jie.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(hc(`document.F=Object`)),e.close(),e.F):gc(sc);for(var n=nc.length;n--;)delete _c.prototype[nc[n]];return _c()};zs[pc]=!0;var vc,yc,bc=Object.create||function(e,t){var n;return e===null?n=_c():(mc.prototype=Os(e),n=new mc,mc.prototype=null,n[pc]=e),t===void 0?n:qie(n,t)},Yie=No.RegExp,Xie=Po((function(){var e=Yie(`.`,`s`);return!(e.dotAll&&e.exec(`
8
+ `)&&e.flags===`s`)})),Zie=No.RegExp,Qie=Po((function(){var e=Zie(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),$ie=Ws.get,eae=ms(`native-string-replace`,String.prototype.replace),xc=RegExp.prototype.exec,Sc=xc,tae=Wo(``.charAt),nae=Wo(``.indexOf),rae=Wo(``.replace),Cc=Wo(``.slice),wc=(yc=/b*/g,Lo(xc,vc=/a/,`a`),Lo(xc,yc,`a`),vc.lastIndex!==0||yc.lastIndex!==0),Tc=Gie.BROKEN_CARET,Ec=/()??/.exec(``)[1]!==void 0;(wc||Ec||Tc||Xie||Qie)&&(Sc=function(e){var t,n,r,i,a,o,s,c=this,l=$ie(c),u=uc(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=Lo(Sc,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=Tc&&c.sticky,m=Lo(Uie,c),h=c.source,g=0,_=u;if(p&&(m=rae(m,`y`,``),nae(m,`g`)===-1&&(m+=`g`),_=Cc(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&tae(u,c.lastIndex-1)!==`
9
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),Ec&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),wc&&(r=c.lastIndex),i=Lo(xc,p?n:c,_),p?i?(i.input=Cc(i.input,g),i[0]=Cc(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:wc&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),Ec&&i&&i.length>1&&Lo(eae,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=bc(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var Dc=Sc;ac({target:`RegExp`,proto:!0,forced:/./.exec!==Dc},{exec:Dc});var iae=xs(`species`),Oc=RegExp.prototype,aae=Wo(``.charAt),kc=Wo(``.charCodeAt),oae=Wo(``.slice),Ac=function(e){return function(t,n){var r,i,a=uc(Jo(t)),o=Ys(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=kc(a,o))<55296||r>56319||o+1===s||(i=kc(a,o+1))<56320||i>57343?e?aae(a,o):r:e?oae(a,o,o+2):i-56320+(r-55296<<10)+65536}},jc={codeAt:Ac(!1),charAt:Ac(!0)},sae=jc.charAt,cae=function(e,t,n){return t+(n?sae(e,t).length:1)},lae=No.TypeError,Mc=function(e,t){var n=e.exec;if(Xo(n)){var r=Lo(n,e,t);return r!==null&&Os(r),r}if(Go(e)===`RegExp`)return Lo(Dc,e,t);throw lae(`RegExp#exec called on incompatible receiver`)};(function(e,t,n,r){var i=xs(e),a=!Po((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!Po((function(){var t=!1,n=/a/;return e===`split`&&((n={}).constructor={},n.constructor[iae]=function(){return n},n.flags=``,n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](``),!t}));if(!a||!o||n){var s=Wo(/./[i]),c=t(i,``[e],(function(e,t,n,r,i){var o=Wo(e),c=t.exec;return c===Dc||c===Oc.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));Js(String.prototype,e,c[0]),Js(Oc,i,c[1])}r&&js(Oc[i],`sham`,!0)})(`match`,(function(e,t,n){return[function(t){var n=Jo(this),r=t==null?void 0:ds(t,e);return r?Lo(r,t,n):new RegExp(t)[e](uc(n))},function(e){var r=Os(this),i=uc(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return Mc(r,i);var o=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;(s=Mc(r,i))!==null;){var u=uc(s[0]);c[l]=u,u===``&&(r.lastIndex=cae(i,Zs(r.lastIndex),o)),l++}return l===0?null:c}]})),ac({global:!0},{globalThis:No});var uae=!Po((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Nc=Rs(`IE_PROTO`),Pc=No.Object,dae=Pc.prototype,Fc=uae?Pc.getPrototypeOf:function(e){var t=hs(e);if(gs(t,Nc))return t[Nc];var n=t.constructor;return Xo(n)&&t instanceof n?n.prototype:t instanceof Pc?dae:null},fae=No.String,pae=No.TypeError,Ic=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=Wo(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return Os(n),function(e){if(typeof e==`object`||Xo(e))return e;throw pae(`Can't set `+fae(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),mae=No.Array,hae=Math.max,gae=Wo(``.replace),_ae=Wo(``.split),vae=Wo([].join),Lc=String(Error(`zxcasd`).stack),Rc=/\n\s*at [^:]*:[^\n]*/,yae=Rc.test(Lc),bae=/@[^\n]*\n/.test(Lc)&&!/zxcasd/.test(Lc),xae=function(e,t){if(typeof e!=`string`)return e;if(yae)for(;t--;)e=gae(e,Rc,``);else if(bae)return vae(function(e,t,n){for(var r,i,a,o,s=Qs(e),c=Xs(t,s),l=Xs(n===void 0?s:n,s),u=mae(hae(l-c,0)),d=0;c<l;c++,d++)r=u,i=d,a=e[c],o=void 0,(o=Ss(i))in r?As.f(r,o,Bo(0,a)):r[o]=a;return u.length=d,u}(_ae(e,`
10
+ `),t),`
11
+ `);return e},Sae=function(e,t){Zo(t)&&`cause`in t&&js(e,`cause`,t.cause)},zc=Wo(Wo.bind),Bc=function(e,t){return us(e),t===void 0?e:zc?zc(e,t):function(){return e.apply(t,arguments)}},Vc={},Cae=xs(`iterator`),wae=Array.prototype,Tae=xs(`iterator`),Hc=function(e){if(e!=null)return ds(e,Tae)||ds(e,`@@iterator`)||Vc[lc(e)]},Eae=No.TypeError,Uc=function(e,t,n){var r,i;Os(e);try{if(!(r=ds(e,`return`))){if(t===`throw`)throw n;return n}r=Lo(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return Os(r),n},Dae=No.TypeError,Wc=function(e,t){this.stopped=e,this.result=t},Gc=Wc.prototype,Oae=function(e,t,n){var r,i,a,o,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=Bc(t,u),h=function(e){return r&&Uc(r,`normal`,e),new Wc(!0,e)},g=function(e){return d?(Os(e),p?m(e[0],e[1],h):m(e[0],e[1])):p?m(e,h):m(e)};if(f)r=e;else{if(!(i=Hc(e)))throw Dae(ls(e)+` is not iterable`);if(function(e){return e!==void 0&&(Vc.Array===e||wae[Cae]===e)}(i)){for(a=0,o=Qs(e);o>a;a++)if((s=g(e[a]))&&$o(Gc,s))return s;return new Wc(!1)}r=function(e,t){var n=arguments.length<2?Hc(e):t;if(us(n))return Os(Lo(n,e));throw Eae(ls(e)+` is not iterable`)}(e,i)}for(c=r.next;!(l=Lo(c,r)).done;){try{s=g(l.value)}catch(e){Uc(r,`throw`,e)}if(typeof s==`object`&&s&&$o(Gc,s))return s}return new Wc(!1)},kae=function(e,t){return e===void 0?arguments.length<2?``:t:uc(e)},Aae=!Po((function(){var e=Error(`a`);return!(`stack`in e)||(Object.defineProperty(e,`stack`,Bo(1,7)),e.stack!==7)})),jae=xs(`toStringTag`),Kc=No.Error,Mae=[].push,qc=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=$o(Jc,this);Ic?n=Ic(new Kc(void 0),i?Fc(this):Jc):(n=i?this:bc(Jc),js(n,jae,`Error`)),js(n,`message`,kae(t,``)),Aae&&js(n,`stack`,xae(n.stack,1)),Sae(n,r);var a=[];return Oae(e,Mae,{that:a}),js(n,`errors`,a),n};Ic?Ic(qc,Kc):rc(qc,Kc);var Jc=qc.prototype=bc(Kc.prototype,{constructor:Bo(1,qc),message:Bo(1,``),name:Bo(1,`AggregateError`)});ac({global:!0},{AggregateError:qc});var Yc=xs(`unscopables`),Xc=Array.prototype;Xc[Yc]??As.f(Xc,Yc,{configurable:!0,value:bc(null)});var Zc,Qc,$c,el=function(e){Xc[Yc][e]=!0},tl=xs(`iterator`),nl=!1;[].keys&&(`next`in($c=[].keys())?(Qc=Fc(Fc($c)))!==Object.prototype&&(Zc=Qc):nl=!0),(Zc==null||Po((function(){var e={};return Zc[tl].call(e)!==e})))&&(Zc={}),Xo(Zc[tl])||Js(Zc,tl,(function(){return this}));var rl={IteratorPrototype:Zc,BUGGY_SAFARI_ITERATORS:nl},Nae=As.f,il=xs(`toStringTag`),al=function(e,t,n){e&&!gs(e=n?e:e.prototype,il)&&Nae(e,il,{configurable:!0,value:t})},Pae=rl.IteratorPrototype,Fae=function(){return this},Iae=qs.PROPER,Lae=qs.CONFIGURABLE,ol=rl.IteratorPrototype,sl=rl.BUGGY_SAFARI_ITERATORS,cl=xs(`iterator`),Rae=function(){return this},ll=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=bc(Pae,{next:Bo(+!r,n)}),al(e,i,!1),Vc[i]=Fae})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!sl&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[cl]||p[`@@iterator`]||i&&p[i],h=!sl&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=Fc(g.call(new e)))!==Object.prototype&&s.next&&(Fc(s)!==ol&&(Ic?Ic(s,ol):Xo(s[cl])||Js(s,cl,Rae)),al(s,d,!0)),Iae&&i==`values`&&m&&m.name!==`values`&&(Lae?js(p,`name`,`values`):(f=!0,h=function(){return Lo(m,this)})),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(sl||f||!(l in p))&&Js(p,l,c[l]);else ac({target:t,proto:!0,forced:sl||f},c);return p[cl]!==h&&Js(p,cl,h,{name:i}),Vc[t]=h,c},ul=Ws.set,dl=Ws.getterFor(`Array Iterator`),fl=ll(Array,`Array`,(function(e,t){ul(this,{type:`Array Iterator`,target:Yo(e),index:0,kind:t})}),(function(){var e=dl(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`);Vc.Arguments=Vc.Array,el(`keys`),el(`values`),el(`entries`);var pl=jc.charAt,ml=Ws.set,hl=Ws.getterFor(`String Iterator`);ll(String,`String`,(function(e){ml(this,{type:`String Iterator`,string:uc(e),index:0})}),(function(){var e,t=hl(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=pl(n,r),t.index+=e.length,{value:e,done:!1})}));var gl,_l={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=ws(`span`).classList,yl=vl&&vl.constructor&&vl.constructor.prototype,bl=yl===Object.prototype?void 0:yl,xl=xs(`iterator`),Sl=xs(`toStringTag`),Cl=fl.values,wl=function(e,t){if(e){if(e[xl]!==Cl)try{js(e,xl,Cl)}catch{e[xl]=Cl}if(e[Sl]||js(e,Sl,t),_l[t]){for(var n in fl)if(e[n]!==fl[n])try{js(e,n,fl[n])}catch{e[n]=fl[n]}}}};for(var Tl in _l)wl(No[Tl]&&No[Tl].prototype,Tl);wl(bl,`DOMTokenList`),typeof global>`u`?(`ActiveXObject`in window&&console.error(`抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器
12
+ Sorry, wangEditor V5+ versions do not support IE browser.`),El(),Dl()):global&&(gl=global.navigator)!=null&&gl.userAgent.match(`QQBrowser`)&&(El(),Dl());function El(){typeof globalThis>`u`&&(window.globalThis=window)}function Dl(){Ure===void 0&&(window.AggregateError=function(e,t){var n=Error(t);return n.errors=e,n})}var Ol,kl=Array.isArray||function(e){return ai(e)==`Array`},Al=function(){},zae=[],jl=pi(`Reflect`,`construct`),Ml=/^\s*(?:class|function)\b/,Bae=Yr(Ml.exec),Vae=!Ml.exec(Al),Nl=function(e){if(!Xr(e))return!1;try{return jl(Al,zae,e),!0}catch{return!1}},Hae=!jl||Zr((function(){var e;return Nl(Nl.call)||!Nl(Object)||!Nl((function(){e=!0}))||e}))?function(e){if(!Xr(e))return!1;switch(Ua(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return Vae||!!Bae(Ml,no(e))}:Nl,Uae=Bi(`species`),Pl=Vr.Array,Fl=function(e,t){return new(function(e){var t;return kl(e)&&(t=e.constructor,(Hae(t)&&(t===Pl||kl(t.prototype))||ui(t)&&(t=t[Uae])===null)&&(t=void 0)),t===void 0?Pl:t}(e))(t===0?0:t)},Wae=Bi(`species`),Il=Bi(`isConcatSpreadable`),Ll=Vr.TypeError,Rl=xi>=51||!Zr((function(){var e=[];return e[Il]=!1,e.concat()[0]!==e})),zl=(Ol=`concat`,xi>=51||!Zr((function(){var e=[];return(e.constructor={})[Wae]=function(){return{foo:1}},e[Ol](Boolean).foo!==1}))),Bl=function(e){if(!ui(e))return!1;var t=e[Il];return t===void 0?kl(e):!!t};ea({target:`Array`,proto:!0,forced:!Rl||!zl},{concat:function(e){var t,n,r,i,a,o=Pi(this),s=Fl(o,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Bl(a=t===-1?o:arguments[t])){if(c+(i=la(a))>9007199254740991)throw Ll(`Maximum allowed index exceeded`);for(n=0;n<i;n++,c++)n in a&&wa(s,c,a[n])}else{if(c>=9007199254740991)throw Ll(`Maximum allowed index exceeded`);wa(s,c++,a)}return s.length=c,s}});var Vl=ha.f,Hl=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ul={f:function(e){return Hl&&ai(e)==`Window`?function(e){try{return Vl(e)}catch{return Ta(Hl)}}(e):Vl(li(e))}},Wl=Yr([].slice),Gl={f:Bi},Kl=Qi.f,ql=function(e){var t=di.Symbol||={};Fi(t,e)||Kl(t,e,{value:Gl.f(e)})},Jl=Yr([].push),Yl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=Pi(c),h=si(m),g=Yi(l,u),_=la(h),v=0,y=d||Fl,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Jl(b,f)}else switch(e){case 4:return!1;case 7:Jl(b,f)}return a?-1:r||i?i:b}},Xl={forEach:Yl(0),map:Yl(1),filter:Yl(2),some:Yl(3),every:Yl(4),find:Yl(5),findIndex:Yl(6),filterReject:Yl(7)}.forEach,Zl=na(`hidden`),Ql=Bi(`toPrimitive`),Gae=fo.set,$l=fo.getterFor(`Symbol`),eu=Object.prototype,tu=Vr.Symbol,nu=tu&&tu.prototype,ru=Vr.TypeError,iu=Vr.QObject,au=pi(`JSON`,`stringify`),ou=Ki.f,su=Qi.f,cu=Ul.f,Kae=ri.f,lu=Yr([].push),uu=Mi(`symbols`),du=Mi(`op-symbols`),fu=Mi(`string-to-symbol-registry`),pu=Mi(`symbol-to-string-registry`),qae=Mi(`wks`),mu=!iu||!iu.prototype||!iu.prototype.findChild,hu=Qr&&Zr((function(){return Ca(su({},`a`,{get:function(){return su(this,`a`,{value:7}).a}})).a!=7}))?function(e,t,n){var r=ou(eu,t);r&&delete eu[t],su(e,t,n),r&&e!==eu&&su(eu,t,r)}:su,gu=function(e,t){var n=uu[e]=Ca(nu);return Gae(n,{type:`Symbol`,tag:e,description:t}),Qr||(n.description=t),n},_u=function(e,t,n){e===eu&&_u(du,t,n),Xi(e);var r=Vi(t);return Xi(n),Fi(uu,r)?(n.enumerable?(Fi(e,Zl)&&e[Zl][r]&&(e[Zl][r]=!1),n=Ca(n,{enumerable:ii(0,!1)})):(Fi(e,Zl)||su(e,Zl,ii(1,{})),e[Zl][r]=!0),hu(e,r,n)):su(e,r,n)},vu=function(e,t){Xi(e);var n=li(t);return Xl(_a(n).concat(Su(n)),(function(t){Qr&&!ei(yu,n,t)||_u(e,t,n[t])})),e},yu=function(e){var t=Vi(e),n=ei(Kae,this,t);return!(this===eu&&Fi(uu,t)&&!Fi(du,t))&&(!(n||!Fi(this,t)||!Fi(uu,t)||Fi(this,Zl)&&this[Zl][t])||n)},bu=function(e,t){var n=li(e),r=Vi(t);if(n!==eu||!Fi(uu,r)||Fi(du,r)){var i=ou(n,r);return!i||!Fi(uu,r)||Fi(n,Zl)&&n[Zl][r]||(i.enumerable=!0),i}},xu=function(e){var t=cu(li(e)),n=[];return Xl(t,(function(e){Fi(uu,e)||Fi(da,e)||lu(n,e)})),n},Su=function(e){var t=e===eu,n=cu(t?du:li(e)),r=[];return Xl(n,(function(e){!Fi(uu,e)||t&&!Fi(eu,e)||lu(r,uu[e])})),r};if(Si||(nu=(tu=function(){if(mi(nu,this))throw ru(`Symbol is not a constructor`);var e=arguments.length&&arguments[0]!==void 0?Ya(arguments[0]):void 0,t=Ii(e),n=function(e){this===eu&&ei(n,du,e),Fi(this,Zl)&&Fi(this[Zl],t)&&(this[Zl][t]=!1),hu(this,t,ii(1,e))};return Qr&&mu&&hu(eu,t,{configurable:!0,set:n}),gu(t,e)}).prototype,ho(nu,`toString`,(function(){return $l(this).tag})),ho(tu,`withoutSetter`,(function(e){return gu(Ii(e),e)})),ri.f=yu,Qi.f=_u,Ki.f=bu,ha.f=Ul.f=xu,ga.f=Su,Gl.f=function(e){return gu(Bi(e),e)},Qr&&su(nu,`description`,{configurable:!0,get:function(){return $l(this).description}})),ea({global:!0,wrap:!0,forced:!Si,sham:!Si},{Symbol:tu}),Xl(_a(qae),(function(e){ql(e)})),ea({target:`Symbol`,stat:!0,forced:!Si},{for:function(e){var t=Ya(e);if(Fi(fu,t))return fu[t];var n=tu(t);return fu[t]=n,pu[n]=t,n},keyFor:function(e){if(!wi(e))throw ru(e+` is not a symbol`);if(Fi(pu,e))return pu[e]},useSetter:function(){mu=!0},useSimple:function(){mu=!1}}),ea({target:`Object`,stat:!0,forced:!Si,sham:!Qr},{create:function(e,t){return t===void 0?Ca(e):vu(Ca(e),t)},defineProperty:_u,defineProperties:vu,getOwnPropertyDescriptor:bu}),ea({target:`Object`,stat:!0,forced:!Si},{getOwnPropertyNames:xu,getOwnPropertySymbols:Su}),ea({target:`Object`,stat:!0,forced:Zr((function(){ga.f(1)}))},{getOwnPropertySymbols:function(e){return ga.f(Pi(e))}}),au&&ea({target:`JSON`,stat:!0,forced:!Si||Zr((function(){var e=tu();return au([e])!=`[null]`||au({a:e})!=`{}`||au(Object(e))!=`{}`}))},{stringify:function(e,t,n){var r=Wl(arguments),i=t;if((ui(t)||e!==void 0)&&!wi(e))return kl(t)||(t=function(e,t){if(Xr(i)&&(t=ei(i,this,e,t)),!wi(t))return t}),r[1]=t,Gr(au,null,r)}}),!nu[Ql]){var Jae=nu.valueOf;ho(nu,Ql,(function(e){return ei(Jae,this)}))}bo(tu,`Symbol`),da[Zl]=!0,ql(`asyncIterator`),ql(`hasInstance`),ql(`isConcatSpreadable`),ql(`iterator`),ql(`match`),ql(`matchAll`),ql(`replace`),ql(`search`),ql(`species`),ql(`split`),ql(`toPrimitive`),ql(`toStringTag`),ql(`unscopables`),bo(Vr.JSON,`JSON`,!0);var Yae=di.Symbol;ql(`asyncDispose`),ql(`dispose`),ql(`matcher`),ql(`metadata`),ql(`observable`),ql(`patternMatch`),ql(`replaceAll`);var Cu=Yae,Xae=Gl.f(`iterator`),Zae=Ir(Lr((function(e){function t(n){return typeof Cu==`function`&&typeof Xae==`symbol`?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&typeof Cu==`function`&&e.constructor===Cu&&e!==Cu.prototype?`symbol`:typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))),wu=Ds.f,Qae=Po((function(){wu(1)}));if(ac({target:`Object`,stat:!0,forced:!Fo||Qae,sham:!Fo},{getOwnPropertyDescriptor:function(e,t){return wu(Yo(e),t)}}),(typeof global>`u`?`undefined`:Zae(global))===`object`){var $ae=Object.getOwnPropertyDescriptor(global,`window`);global.window&&!$ae.set||(global.window=global,global.requestAnimationFrame=function(){},global.navigator={userAgent:``},global.location={hostname:`0.0.0.0`,port:0,protocol:`http:`},global.btoa=function(){},global.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),global.document!=null&&global.document.getElementsByTagName==null&&(global.document.getElementsByTagName=function(){return[]})}function Tu(e){return Object.prototype.toString.call(e)===`[object Object]`}function Eu(e){var t,n;return!1!==Tu(e)&&((t=e.constructor)===void 0||!1!==Tu(n=t.prototype)&&!1!==n.hasOwnProperty(`isPrototypeOf`))}function Du(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error(`[Immer] minified error nr: `+e+(n.length?` `+n.map((function(e){return`'`+e+`'`})).join(`,`):``)+`. Find the full error at: https://bit.ly/3cXEKWf`)}function Ou(e){return!!e&&!!e[cd]}function ku(e){return!!e&&(function(e){if(!e||typeof e!=`object`)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;var n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;return n===Object||typeof n==`function`&&Function.toString.call(n)===aoe}(e)||Array.isArray(e)||!!e[sd]||!!e.constructor[sd]||Pu(e)||Fu(e))}function Au(e,t,n){n===void 0&&(n=!1),ju(e)===0?(n?Object.keys:ld)(e).forEach((function(r){n&&typeof r==`symbol`||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function ju(e){var t=e[cd];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pu(e)?2:Fu(e)?3:0}function Mu(e,t){return ju(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Nu(e,t,n){var r=ju(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function Pu(e){return roe&&e instanceof Map}function Fu(e){return ioe&&e instanceof Set}function Iu(e){return e.o||e.t}function Lu(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ooe(e);delete t[cd];for(var n=ld(t),r=0;r<n.length;r++){var i=n[r],a=t[i];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Ru(e,t){return t===void 0&&(t=!1),zu(e)||Ou(e)||!ku(e)||(ju(e)>1&&(e.set=e.add=e.clear=e.delete=eoe),Object.freeze(e),t&&Au(e,(function(e,t){return Ru(t,!0)}),!0)),e}function eoe(){Du(2)}function zu(e){return typeof e!=`object`||!e||Object.isFrozen(e)}function Bu(e){var t=soe[e];return t||Du(18,e),t}function Vu(){return rd}function Hu(e,t){t&&(Bu(`Patches`),e.u=[],e.s=[],e.v=t)}function Uu(e){Wu(e),e.p.forEach(toe),e.p=null}function Wu(e){e===rd&&(rd=e.l)}function Gu(e){return rd={p:[],l:rd,h:e,m:!0,_:0}}function toe(e){var t=e[cd];t.i===0||t.i===1?t.j():t.O=!0}function Ku(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Bu(`ES5`).S(t,e,r),r?(n[cd].P&&(Uu(t),Du(4)),ku(e)&&(e=qu(t,e),t.l||Yu(t,e)),t.u&&Bu(`Patches`).M(n[cd],e,t.u,t.s)):e=qu(t,n,[]),Uu(t),t.u&&t.v(t.u,t.s),e===od?void 0:e}function qu(e,t,n){if(zu(t))return t;var r=t[cd];if(!r)return Au(t,(function(i,a){return Ju(e,r,t,i,a,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Yu(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=Lu(r.k):r.o;Au(r.i===3?new Set(i):i,(function(t,a){return Ju(e,r,i,t,a,n)})),Yu(e,i,!1),n&&e.u&&Bu(`Patches`).R(r,n,e.u,e.s)}return r.o}function Ju(e,t,n,r,i,a){if(Ou(i)){var o=qu(e,i,a&&t&&t.i!==3&&!Mu(t.D,r)?a.concat(r):void 0);if(Nu(n,r,o),!Ou(o))return;e.m=!1}if(ku(i)&&!zu(i)){if(!e.h.F&&e._<1)return;qu(e,i),t&&t.A.l||Yu(e,i)}}function Yu(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&Ru(t,n)}function Xu(e,t){var n=e[cd];return(n?Iu(n):e)[t]}function Zu(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Qu(e){e.P||(e.P=!0,e.l&&Qu(e.l))}function $u(e){e.o||=Lu(e.t)}function ed(e,t,n){var r=Pu(t)?Bu(`MapSet`).N(t,n):Fu(t)?Bu(`MapSet`).T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Vu(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,a=ud;n&&(i=[r],a=dd);var o=Proxy.revocable(i,a),s=o.revoke,c=o.proxy;return r.k=c,r.j=s,c}(t,n):Bu(`ES5`).J(t,n);return(n?n.A:Vu()).p.push(r),r}function noe(e){return Ou(e)||Du(22,e),function e(t){if(!ku(t))return t;var n,r=t[cd],i=ju(t);if(r){if(!r.P&&(r.i<4||!Bu(`ES5`).K(r)))return r.t;r.I=!0,n=td(t,i),r.I=!1}else n=td(t,i);return Au(n,(function(t,i){r&&function(e,t){return ju(e)===2?e.get(t):e[t]}(r.t,t)===i||Nu(n,t,e(i))})),i===3?new Set(n):n}(e)}function td(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Lu(e)}var nd,rd,id=typeof Symbol<`u`&&typeof Symbol(`x`)==`symbol`,roe=typeof Map<`u`,ioe=typeof Set<`u`,ad=typeof Proxy<`u`&&Proxy.revocable!==void 0&&typeof Reflect<`u`,od=id?Symbol.for(`immer-nothing`):((nd={})[`immer-nothing`]=!0,nd),sd=id?Symbol.for(`immer-draftable`):`__$immer_draftable`,cd=id?Symbol.for(`immer-state`):`__$immer_state`,aoe=``+Object.prototype.constructor,ld=typeof Reflect<`u`&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols===void 0?Object.getOwnPropertyNames:function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))},ooe=Object.getOwnPropertyDescriptors||function(e){var t={};return ld(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},soe={},ud={get:function(e,t){if(t===cd)return e;var n=Iu(e);if(!Mu(n,t))return function(e,t,n){var r=Zu(t,n);return r?`value`in r?r.value:r.get?.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!ku(r)?r:r===Xu(e.t,t)?($u(e),e.o[t]=ed(e.A.h,r,e)):r},has:function(e,t){return t in Iu(e)},ownKeys:function(e){return Reflect.ownKeys(Iu(e))},set:function(e,t,n){var r=Zu(Iu(e),t);if(r?.set)return r.set.call(e.k,n),!0;if(!e.P){var i=Xu(Iu(e),t),a=i?.[cd];if(a&&a.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}(n,i)&&(n!==void 0||Mu(e.t,t)))return!0;$u(e),Qu(e)}return e.o[t]===n&&typeof n!=`number`&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Xu(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,$u(e),Qu(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Iu(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Du(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Du(12)}},dd={};Au(ud,(function(e,t){dd[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),dd.deleteProperty=function(e,t){return ud.deleteProperty.call(this,e[0],t)},dd.set=function(e,t,n){return ud.set.call(this,e[0],t,n,e[0])};var fd=new(function(){function e(e){var t=this;this.g=ad,this.F=!0,this.produce=function(e,n,r){if(typeof e==`function`&&typeof n!=`function`){var i=n;n=e;var a=t;return function(e){var t=this;e===void 0&&(e=i);for(var r=arguments.length,o=Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return a.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(o))}))}}var o;if(typeof n!=`function`&&Du(6),r!==void 0&&typeof r!=`function`&&Du(7),ku(e)){var s=Gu(t),c=ed(t,e,void 0),l=!0;try{o=n(c),l=!1}finally{l?Uu(s):Wu(s)}return typeof Promise<`u`&&o instanceof Promise?o.then((function(e){return Hu(s,r),Ku(e,s)}),(function(e){throw Uu(s),e})):(Hu(s,r),Ku(o,s))}if(!e||typeof e!=`object`)return(o=n(e))===od?void 0:(o===void 0&&(o=e),t.F&&Ru(o,!0),o);Du(21,e)},this.produceWithPatches=function(e,n){return typeof e==`function`?function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))}:[t.produce(e,n,(function(e,t){r=e,i=t})),r,i];var r,i},typeof e?.useProxies==`boolean`&&this.setUseProxies(e.useProxies),typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){ku(e)||Du(8),Ou(e)&&(e=noe(e));var t=Gu(this),n=ed(this,e,void 0);return n[cd].C=!0,Wu(t),n},t.finishDraft=function(e,t){var n=(e&&e[cd]).A;return Hu(n,t),Ku(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!ad&&Du(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=Bu(`Patches`).$;return Ou(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}()),pd=fd.produce;fd.produceWithPatches.bind(fd),fd.setAutoFreeze.bind(fd),fd.setUseProxies.bind(fd),fd.applyPatches.bind(fd);var md=fd.createDraft.bind(fd),hd=fd.finishDraft.bind(fd);function gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _d=new WeakMap,vd=new WeakMap,yd=new WeakMap,bd=new WeakMap,xd=new WeakMap,Sd=new WeakMap;function Cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Cd(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Td=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of P.pathRefs(e))poe.transform(n,t);for(var r of P.pointRefs(e))moe.transform(r,t);for(var i of P.rangeRefs(e))goe.transform(i,t);var a=new Set,o=[],s=e=>{if(e){var t=e.join(`,`);a.has(t)||(a.add(t),o.push(e))}},c=_d.get(e)||[],l=Ed(t);for(var u of c)s(I.transform(u,t));for(var d of l)s(d);_d.set(e,o),z.transform(e,t),e.operations.push(t),P.normalize(e),t.type===`set_selection`&&(e.marks=null),vd.get(e)||(vd.set(e,!0),Promise.resolve().then((()=>{vd.set(e,!1),e.onChange(),e.operations=[]})))},addMark:(t,n)=>{var{selection:r}=e;r&&(L.isExpanded(r)?z.setNodes(e,{[t]:n},{match:R.isText,split:!0}):(e.marks=wd(wd({},P.marks(e)||{}),{},{[t]:n}),vd.get(e)||e.onChange()))},deleteBackward:t=>{var{selection:n}=e;n&&L.isCollapsed(n)&&z.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&L.isCollapsed(n)&&z.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&L.isExpanded(n)&&z.delete(e,{reverse:t===`backward`})},getFragment:()=>{var{selection:t}=e;return t?F.fragment(e,t):[]},insertBreak:()=>{z.splitNodes(e,{always:!0})},insertFragment:t=>{z.insertFragment(e,t)},insertNode:t=>{z.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var i=wd({text:t},r);z.insertNodes(e,i)}else z.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!R.isText(n))if(N.isElement(n)&&n.children.length===0)z.insertNodes(e,{text:``},{at:r.concat(0),voids:!0});else for(var i=!P.isEditor(n)&&N.isElement(n)&&(e.isInline(n)||n.children.length===0||R.isText(n.children[0])||e.isInline(n.children[0])),a=0,o=0;o<n.children.length;o++,a++){var s=F.get(e,r);if(!R.isText(s)){var c=n.children[o],l=s.children[a-1],u=o===n.children.length-1;(R.isText(c)||N.isElement(c)&&e.isInline(c))===i?N.isElement(c)?e.isInline(c)&&(l!=null&&R.isText(l)?u&&(z.insertNodes(e,{text:``},{at:r.concat(a+1),voids:!0}),a++):(z.insertNodes(e,{text:``},{at:r.concat(a),voids:!0}),a++)):l!=null&&R.isText(l)&&(R.equals(c,l,{loose:!0})?(z.mergeNodes(e,{at:r.concat(a),voids:!0}),a--):l.text===``?(z.removeNodes(e,{at:r.concat(a-1),voids:!0}),a--):c.text===``&&(z.removeNodes(e,{at:r.concat(a),voids:!0}),a--)):(z.removeNodes(e,{at:r.concat(a),voids:!0}),a--)}}},removeMark:t=>{var{selection:n}=e;if(n)if(L.isExpanded(n))z.unsetNodes(e,t,{match:R.isText,split:!0});else{var r=wd({},P.marks(e)||{});delete r[t],e.marks=r,vd.get(e)||e.onChange()}}};return e},Ed=e=>{switch(e.type){case`insert_text`:case`remove_text`:case`set_node`:var{path:t}=e;return I.levels(t);case`insert_node`:var{node:n,path:r}=e,i=I.levels(r),a=R.isText(n)?[]:Array.from(F.nodes(n),(e=>{var[,t]=e;return r.concat(t)}));return[...i,...a];case`merge_node`:var{path:o}=e;return[...I.ancestors(o),I.previous(o)];case`move_node`:var{path:s,newPath:c}=e;if(I.equals(s,c))return[];var l=[],u=[];for(var d of I.ancestors(s)){var f=I.transform(d,e);l.push(f)}for(var p of I.ancestors(c)){var m=I.transform(p,e);u.push(m)}var h=u[u.length-1],g=c[c.length-1],_=h.concat(g);return[...l,...u,_];case`remove_node`:var{path:v}=e;return[...I.ancestors(v)];case`split_node`:var{path:y}=e;return[...I.levels(y),I.next(y)];default:return[]}};function Dd(e,t){if(e==null)return{};var n,r,i=function(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Od,kd=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?Fd(e):e,i=Od.None,a=Od.None,o=0,s=null;for(var c of r){var l=c.codePointAt(0);if(!l)break;var u=qd(c,l);if([i,a]=n?[a,u]:[u,i],Jd(i,Od.ZWJ)&&Jd(a,Od.ExtPict)&&!Qd(n?e.substring(0,o):e.substring(0,e.length-o))||Jd(i,Od.RI)&&Jd(a,Od.RI)&&!(s=s===null?!!n||ef(e.substring(0,e.length-o)):!s)||i!==Od.None&&a!==Od.None&&Xd(i,a))break;o+=c.length}return o||1},Ad=/\s/,jd=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Md=/['\u2018\u2019]/,Nd=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},Pd=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(Ad.test(t))return!1;if(Md.test(t)){var[i,a]=Nd(n,kd(n,r),r);if(e(i,a,r))return!0}return!jd.test(t)},Fd=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(Ld(r.charCodeAt(0))){var i=e.charAt(t-n-1);if(Id(i.charCodeAt(0))){yield i+r,n++;continue}}yield r}},Id=e=>e>=55296&&e<=56319,Ld=e=>e>=56320&&e<=57343;(function(e){e[e.None=0]=`None`,e[e.Extend=1]=`Extend`,e[e.ZWJ=2]=`ZWJ`,e[e.RI=4]=`RI`,e[e.Prepend=8]=`Prepend`,e[e.SpacingMark=16]=`SpacingMark`,e[e.L=32]=`L`,e[e.V=64]=`V`,e[e.T=128]=`T`,e[e.LV=256]=`LV`,e[e.LVT=512]=`LVT`,e[e.ExtPict=1024]=`ExtPict`,e[e.Any=2048]=`Any`})(Od||={});var Rd=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,zd=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Bd=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,Vd=/^[\u1100-\u115F\uA960-\uA97C]$/,Hd=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,Ud=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,Wd=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,Gd=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,Kd=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,qd=(e,t)=>{var n=Od.Any;return e.search(Rd)!==-1&&(n|=Od.Extend),t===8205&&(n|=Od.ZWJ),t>=127462&&t<=127487&&(n|=Od.RI),e.search(zd)!==-1&&(n|=Od.Prepend),e.search(Bd)!==-1&&(n|=Od.SpacingMark),e.search(Vd)!==-1&&(n|=Od.L),e.search(Hd)!==-1&&(n|=Od.V),e.search(Ud)!==-1&&(n|=Od.T),e.search(Wd)!==-1&&(n|=Od.LV),e.search(Gd)!==-1&&(n|=Od.LVT),e.search(Kd)!==-1&&(n|=Od.ExtPict),n};function Jd(e,t){return(e&t)!=0}var Yd=[[Od.L,Od.L|Od.V|Od.LV|Od.LVT],[Od.LV|Od.V,Od.V|Od.T],[Od.LVT|Od.T,Od.T],[Od.Any,Od.Extend|Od.ZWJ],[Od.Any,Od.SpacingMark],[Od.Prepend,Od.Any],[Od.ZWJ,Od.ExtPict],[Od.RI,Od.RI]];function Xd(e,t){return Yd.findIndex((n=>Jd(e,n[0])&&Jd(t,n[1])))===-1}var Zd=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Qd=e=>e.search(Zd)!==-1,$d=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,ef=e=>{var t=e.match($d);return t!==null&&t[0].length/2%2==1},tf=e=>Eu(e)&&F.isNodeList(e.children)&&!P.isEditor(e),N={isAncestor:e=>Eu(e)&&F.isNodeList(e.children),isElement:tf,isElementList:e=>Array.isArray(e)&&e.every((e=>N.isElement(e))),isElementProps:e=>e.children!==void 0,isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`type`;return tf(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!==`children`&&e[n]!==t[n])return!1;return!0}},coe=[`text`],loe=[`text`];function nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var af=new WeakMap,P={above(e){var{voids:t=!1,mode:n=`lowest`,at:r=e.selection,match:i}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r){var a=P.path(e,r),o=n===`lowest`;for(var[s,c]of P.levels(e,{at:a,voids:t,match:i,reverse:o}))if(!R.isText(s)&&!I.equals(a,c))return[s,c]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:P.point(e,t,{edge:`end`}),focus:P.end(e,[])},{distance:a=1}=r,o=0;for(var s of P.positions(e,rf(rf({},r),{},{at:i}))){if(o>a)break;o!==0&&(n=s),o++}return n},before(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:P.start(e,[]),focus:P.point(e,t,{edge:`start`})},{distance:a=1}=r,o=0;for(var s of P.positions(e,rf(rf({},r),{},{at:i,reverse:!0}))){if(o>a)break;o!==0&&(n=s),o++}return n},deleteBackward(e){var{unit:t=`character`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.deleteBackward(t)},deleteForward(e){var{unit:t=`character`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.deleteForward(t)},deleteFragment(e){var{direction:t=`forward`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.deleteFragment(t)},edges:(e,t)=>[P.start(e,t),P.end(e,t)],end:(e,t)=>P.point(e,t,{edge:`end`}),first(e,t){var n=P.path(e,t,{edge:`start`});return P.node(e,n)},fragment(e,t){var n=P.range(e,t);return F.fragment(e,n)},hasBlocks:(e,t)=>t.children.some((t=>P.isBlock(e,t))),hasInlines:(e,t)=>t.children.some((t=>R.isText(t)||P.isInline(e,t))),hasTexts:(e,t)=>t.children.every((e=>R.isText(e))),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>N.isElement(t)&&!e.isInline(t),isEditor(e){if(!Eu(e))return!1;var t=af.get(e);if(t!==void 0)return t;var n=typeof e.addMark==`function`&&typeof e.apply==`function`&&typeof e.deleteBackward==`function`&&typeof e.deleteForward==`function`&&typeof e.deleteFragment==`function`&&typeof e.insertBreak==`function`&&typeof e.insertFragment==`function`&&typeof e.insertNode==`function`&&typeof e.insertText==`function`&&typeof e.isInline==`function`&&typeof e.isVoid==`function`&&typeof e.normalizeNode==`function`&&typeof e.onChange==`function`&&typeof e.removeMark==`function`&&(e.marks===null||Eu(e.marks))&&(e.selection===null||L.isRange(e.selection))&&F.isNodeList(e.children)&&lf.isOperationList(e.operations);return af.set(e,n),n},isEnd(e,t,n){var r=P.end(e,n);return ff.equals(t,r)},isEdge:(e,t,n)=>P.isStart(e,t,n)||P.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&R.isText(r)&&r.text===``&&!e.isVoid(t)},isInline:(e,t)=>N.isElement(t)&&e.isInline(t),isNormalizing(e){var t=yd.get(e);return t===void 0||t},isStart(e,t,n){if(t.offset!==0)return!1;var r=P.start(e,n);return ff.equals(t,r)},isVoid:(e,t)=>N.isElement(t)&&e.isVoid(t),last(e,t){var n=P.path(e,t,{edge:`end`});return P.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=P.path(e,t,n);return[F.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:i=!1}=t,{match:a}=t;if(a??=()=>!0,n){var o=[],s=P.path(e,n);for(var[c,l]of F.levels(e,s))if(a(c,l)&&(o.push([c,l]),!i&&P.isVoid(e,c)))break;r&&o.reverse(),yield*o}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(L.isExpanded(n)){var[r]=P.nodes(e,{match:R.isText});if(r){var[i]=r;return Dd(i,coe)}return{}}var{anchor:a}=n,{path:o}=a,[s]=P.leaf(e,o);if(a.offset===0){var c=P.previous(e,{at:o,match:R.isText}),l=P.above(e,{match:t=>P.isBlock(e,t)});if(c&&l){var[u,d]=c,[,f]=l;I.isAncestor(f,d)&&(s=u)}}return Dd(s,loe)},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection}=t;if(a){var o=P.after(e,a,{voids:r});if(o){var[,s]=P.last(e,[]),c=[o.path,s];if(I.isPath(a)&&a.length===0)throw Error(`Cannot get the next node from the root node!`);if(i==null)if(I.isPath(a)){var[l]=P.parent(e,a);i=e=>l.children.includes(e)}else i=()=>!0;var[u]=P.nodes(e,{at:c,match:i,mode:n,voids:r});return u}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=P.path(e,t,n);return[F.get(e,r),r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r=`all`,universal:i=!1,reverse:a=!1,voids:o=!1}=t,{match:s}=t;if(s||=()=>!0,n){var c,l;if(uoe.isSpan(n))c=n[0],l=n[1];else{var u=P.path(e,n,{edge:`start`}),d=P.path(e,n,{edge:`end`});c=a?d:u,l=a?u:d}var f,p=F.nodes(e,{reverse:a,from:c,to:l,pass:t=>{var[n]=t;return!o&&P.isVoid(e,n)}}),m=[];for(var[h,g]of p){var _=f&&I.compare(g,f[1])===0;if(r!==`highest`||!_){if(s(h,g))if(r===`lowest`&&_)f=[h,g];else{var v=r===`lowest`?f:[h,g];v&&(i?m.push(v):yield v),f=[h,g]}else if(i&&!_&&R.isText(h))return}}r===`lowest`&&f&&(i?m.push(f):yield f),i&&(yield*m)}},normalize(e){var{force:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e=>_d.get(e)||[];if(P.isNormalizing(e)){if(t){var r=Array.from(F.nodes(e),(e=>{var[,t]=e;return t}));_d.set(e,r)}n(e).length!==0&&P.withoutNormalizing(e,(()=>{for(var t of n(e))if(F.has(e,t)){var r=P.node(e,t),[i,a]=r;N.isElement(i)&&i.children.length===0&&e.normalizeNode(r)}for(var o=42*n(e).length,s=0;n(e).length!==0;){if(s>o)throw Error(`
13
+ Could not completely normalize the editor after ${o} iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
14
+ `);var c=n(e).pop();if(F.has(e,c)){var l=P.node(e,c);e.normalizeNode(l)}s++}}))}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=P.path(e,t,n),i=I.parent(r);return P.node(e,i)},path(e,t){var{depth:n,edge:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(I.isPath(t)){if(r===`start`){var[,i]=F.first(e,t);t=i}else if(r===`end`){var[,a]=F.last(e,t);t=a}}return L.isRange(t)&&(t=r===`start`?L.start(t):r===`end`?L.end(t):I.common(t.anchor.path,t.focus.path)),ff.isPoint(t)&&(t=t.path),n!=null&&(t=t.slice(0,n)),t},hasPath:(e,t)=>F.has(e,t),pathRef(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return P.pathRefs(e).delete(r),r.current=null,t}};return P.pathRefs(e).add(r),r},pathRefs(e){var t=bd.get(e);return t||(t=new Set,bd.set(e,t)),t},point(e,t){var{edge:n=`start`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(I.isPath(t)){var r;if(n===`end`){var[,i]=F.last(e,t);r=i}else{var[,a]=F.first(e,t);r=a}var o=F.get(e,r);if(!R.isText(o))throw Error(`Cannot get the ${n} point in the node at path [${t}] because it has no ${n} text node.`);return{path:r,offset:n===`end`?o.text.length:0}}if(L.isRange(t)){var[s,c]=L.edges(t);return n===`start`?s:c}return t},pointRef(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return P.pointRefs(e).delete(r),r.current=null,t}};return P.pointRefs(e).add(r),r},pointRefs(e){var t=xd.get(e);return t||(t=new Set,xd.set(e,t)),t},*positions(e){var{at:t=e.selection,unit:n=`offset`,reverse:r=!1,voids:i=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t){var a=P.range(e,t),[o,s]=L.edges(a),c=r?s:o,l=!1,u=``,d=0,f=0,p=0;for(var[m,h]of P.nodes(e,{at:t,reverse:r,voids:i})){if(N.isElement(m)){if(!i&&e.isVoid(m)){yield P.start(e,h);continue}if(e.isInline(m))continue;if(P.hasInlines(e,m)){var g=I.isAncestor(h,s.path)?s:P.end(e,h),_=I.isAncestor(h,o.path)?o:P.start(e,h);u=P.string(e,{anchor:_,focus:g},{voids:i}),l=!0}}if(R.isText(m)){var v=I.equals(h,c.path);for(v?(f=r?c.offset:m.text.length-c.offset,p=c.offset):(f=m.text.length,p=r?f:0),(v||l||n===`offset`)&&(yield{path:h,offset:p},l=!1);;){if(d===0){if(u===``)break;d=y(u,n,r),u=Nd(u,d,r)[1]}if(p=r?p-d:p+d,(f-=d)<0){d=-f;break}d=0,yield{path:h,offset:p}}}}}function y(e,t,n){return t===`character`?kd(e,n):t===`word`?function(e){for(var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=0,r=!1;e.length>0;){var i=kd(e,t),[a,o]=Nd(e,i,t);if(Pd(a,o,t))r=!0,n+=i;else{if(r)break;n+=i}e=o}return n}(e,n):t===`line`||t===`block`?e.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection}=t;if(a){var o=P.before(e,a,{voids:r});if(o){var[,s]=P.first(e,[]),c=[o.path,s];if(I.isPath(a)&&a.length===0)throw Error(`Cannot get the previous node from the root node!`);if(i==null)if(I.isPath(a)){var[l]=P.parent(e,a);i=e=>l.children.includes(e)}else i=()=>!0;var[u]=P.nodes(e,{reverse:!0,at:c,match:i,mode:n,voids:r});return u}}},range:(e,t,n)=>L.isRange(t)&&!n?t:{anchor:P.start(e,t),focus:P.end(e,n||t)},rangeRef(e,t){var{affinity:n=`forward`}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r={current:t,affinity:n,unref(){var{current:t}=r;return P.rangeRefs(e).delete(r),r.current=null,t}};return P.rangeRefs(e).add(r),r},rangeRefs(e){var t=Sd.get(e);return t||(t=new Set,Sd.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){yd.set(e,t)},start:(e,t)=>P.point(e,t,{edge:`start`}),string(e,t){var{voids:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=P.range(e,t),[i,a]=L.edges(r),o=``;for(var[s,c]of P.nodes(e,{at:r,match:R.isText,voids:n})){var l=s.text;I.equals(c,a.path)&&(l=l.slice(0,a.offset)),I.equals(c,i.path)&&(l=l.slice(i.offset)),o+=l}return o},unhangRange(e,t){var{voids:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},[r,i]=L.edges(t);if(r.offset!==0||i.offset!==0||L.isCollapsed(t))return t;var a=P.above(e,{at:i,match:t=>P.isBlock(e,t)}),o=a?a[1]:[],s={anchor:P.start(e,[]),focus:i},c=!0;for(var[l,u]of P.nodes(e,{at:s,match:R.isText,reverse:!0,voids:n}))if(c)c=!1;else if(l.text!==``||I.isBefore(u,o)){i={path:u,offset:l.text.length};break}return{anchor:r,focus:i}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return P.above(e,rf(rf({},t),{},{match:t=>P.isVoid(e,t)}))},withoutNormalizing(e,t){var n=P.isNormalizing(e);P.setNormalizing(e,!1);try{t()}finally{P.setNormalizing(e,n)}P.normalize(e)}},uoe={isSpan:e=>Array.isArray(e)&&e.length===2&&e.every(I.isPath)},doe=[`children`],foe=[`text`],of=new WeakMap,F={ancestor(e,t){var n=F.get(e,t);if(R.isText(n))throw Error(`Cannot get the ancestor node at path [${t}] because it refers to a text node instead: ${n}`);return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of I.ancestors(t,n))yield[F.ancestor(e,r),r]},child(e,t){if(R.isText(e))throw Error(`Cannot get the child of a text node: ${JSON.stringify(e)}`);var n=e.children[t];if(n==null)throw Error(`Cannot get child at index \`${t}\` in node: ${JSON.stringify(e)}`);return n},*children(e,t){for(var{reverse:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=F.ancestor(e,t),{children:i}=r,a=n?i.length-1:0;n?a>=0:a<i.length;)yield[F.child(r,a),t.concat(a)],a=n?a-1:a+1},common(e,t,n){var r=I.common(t,n);return[F.get(e,r),r]},descendant(e,t){var n=F.get(e,t);if(P.isEditor(n))throw Error(`Cannot get the descendant node at path [${t}] because it refers to the root editor node instead: ${n}`);return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of F.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of F.nodes(e,t))N.isElement(n)&&(yield[n,r])},extractProps:e=>N.isAncestor(e)?Dd(e,doe):Dd(e,foe),first(e,t){for(var n=t.slice(),r=F.get(e,n);r&&!R.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(R.isText(e))throw Error(`Cannot get a fragment starting from a root text node: ${JSON.stringify(e)}`);return pd({children:e.children},(e=>{var[n,r]=L.edges(t);for(var[,i]of F.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!L.includes(t,n)}})){if(!L.includes(t,i)){var a=F.parent(e,i),o=i[i.length-1];a.children.splice(o,1)}if(I.equals(i,r.path)){var s=F.leaf(e,i);s.text=s.text.slice(0,r.offset)}if(I.equals(i,n.path)){var c=F.leaf(e,i);c.text=c.text.slice(n.offset)}}P.isEditor(e)&&(e.selection=null)})).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(R.isText(n)||!n.children[i])throw Error(`Cannot find a descendant at path [${t}] in node: ${JSON.stringify(e)}`);n=n.children[i]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(R.isText(n)||!n.children[i])return!1;n=n.children[i]}return!0},isNode:e=>R.isText(e)||N.isElement(e)||P.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=of.get(e);if(t!==void 0)return t;var n=e.every((e=>F.isNode(e)));return of.set(e,n),n},last(e,t){for(var n=t.slice(),r=F.get(e,n);r&&!R.isText(r)&&r.children.length!==0;){var i=r.children.length-1;r=r.children[i],n.push(i)}return[r,n]},leaf(e,t){var n=F.get(e,t);if(!R.isText(n))throw Error(`Cannot get the leaf node at path [${t}] because it refers to a non-leaf node: ${n}`);return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of I.levels(t,n))yield[F.get(e,r),r]},matches:(e,t)=>N.isElement(e)&&N.isElementProps(t)&&N.matches(e,t)||R.isText(e)&&R.isTextProps(t)&&R.matches(e,t),*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:i=[],to:a}=t,o=new Set,s=[],c=e;!a||!(r?I.isBefore(s,a):I.isAfter(s,a));)if(o.has(c)||(yield[c,s]),o.has(c)||R.isText(c)||c.children.length===0||n!=null&&!1!==n([c,s])){if(s.length===0)break;if(!r){var l=I.next(s);if(F.has(e,l)){s=l,c=F.get(e,s);continue}}r&&s[s.length-1]!==0?(s=I.previous(s),c=F.get(e,s)):(s=I.parent(s),c=F.get(e,s),o.add(c))}else{o.add(c);var u=r?c.children.length-1:0;I.isAncestor(s,i)&&(u=i[s.length]),s=s.concat(u),c=F.get(e,s)}},parent(e,t){var n=I.parent(t),r=F.get(e,n);if(R.isText(r))throw Error(`Cannot get the parent of path [${t}] because it does not exist in the root.`);return r},string:e=>R.isText(e)?e.text:e.children.map(F.string).join(``),*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of F.nodes(e,t))R.isText(n)&&(yield[n,r])}};function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lf={isNodeOperation:e=>lf.isOperation(e)&&e.type.endsWith(`_node`),isOperation(e){if(!Eu(e))return!1;switch(e.type){case`insert_node`:case`remove_node`:return I.isPath(e.path)&&F.isNode(e.node);case`insert_text`:case`remove_text`:return typeof e.offset==`number`&&typeof e.text==`string`&&I.isPath(e.path);case`merge_node`:return typeof e.position==`number`&&I.isPath(e.path)&&Eu(e.properties);case`move_node`:return I.isPath(e.path)&&I.isPath(e.newPath);case`set_node`:return I.isPath(e.path)&&Eu(e.properties)&&Eu(e.newProperties);case`set_selection`:return e.properties===null&&L.isRange(e.newProperties)||e.newProperties===null&&L.isRange(e.properties)||Eu(e.properties)&&Eu(e.newProperties);case`split_node`:return I.isPath(e.path)&&typeof e.position==`number`&&Eu(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every((e=>lf.isOperation(e))),isSelectionOperation:e=>lf.isOperation(e)&&e.type.endsWith(`_selection`),isTextOperation:e=>lf.isOperation(e)&&e.type.endsWith(`_text`),inverse(e){switch(e.type){case`insert_node`:return cf(cf({},e),{},{type:`remove_node`});case`insert_text`:return cf(cf({},e),{},{type:`remove_text`});case`merge_node`:return cf(cf({},e),{},{type:`split_node`,path:I.previous(e.path)});case`move_node`:var{newPath:t,path:n}=e;if(I.equals(t,n))return e;if(I.isSibling(n,t))return cf(cf({},e),{},{path:t,newPath:n});var r=I.transform(n,e),i=I.transform(I.next(n),e);return cf(cf({},e),{},{path:r,newPath:i});case`remove_node`:return cf(cf({},e),{},{type:`insert_node`});case`remove_text`:return cf(cf({},e),{},{type:`insert_text`});case`set_node`:var{properties:a,newProperties:o}=e;return cf(cf({},e),{},{properties:o,newProperties:a});case`set_selection`:var{properties:s,newProperties:c}=e;return cf(cf({},e),{},s==null?{properties:c,newProperties:null}:c==null?{properties:null,newProperties:s}:{properties:c,newProperties:s});case`split_node`:return cf(cf({},e),{},{type:`merge_node`,path:I.next(e.path)})}}},I={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=I.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var i=e[r];if(i!==t[r])break;n.push(i)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),a=e[n],o=t[n];return I.equals(r,i)&&a>o},endsAt(e,t){var n=e.length,r=e.slice(0,n),i=t.slice(0,n);return I.equals(r,i)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),a=e[n],o=t[n];return I.equals(r,i)&&a<o},equals:(e,t)=>e.length===t.length&&e.every(((e,n)=>e===t[n])),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>I.compare(e,t)===1,isAncestor:(e,t)=>e.length<t.length&&I.compare(e,t)===0,isBefore:(e,t)=>I.compare(e,t)===-1,isChild:(e,t)=>e.length===t.length+1&&I.compare(e,t)===0,isCommon:(e,t)=>e.length<=t.length&&I.compare(e,t)===0,isDescendant:(e,t)=>e.length>t.length&&I.compare(e,t)===0,isParent:(e,t)=>e.length+1===t.length&&I.compare(e,t)===0,isPath:e=>Array.isArray(e)&&(e.length===0||typeof e[0]==`number`),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&I.equals(n,r)},levels(e){for(var{reverse:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=0;r<=e.length;r++)n.push(e.slice(0,r));return t&&n.reverse(),n},next(e){if(e.length===0)throw Error(`Cannot get the next path of a root path [${e}], because it has no next index.`);var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw Error(`Cannot get the parent path of the root path [${e}].`);return e.slice(0,-1)},previous(e){if(e.length===0)throw Error(`Cannot get the previous path of a root path [${e}], because it has no previous index.`);var t=e[e.length-1];if(t<=0)throw Error(`Cannot get the previous path of a first child path [${e}] because it would result in a negative index.`);return e.slice(0,-1).concat(t-1)},relative(e,t){if(!I.isAncestor(t,e)&&!I.equals(e,t))throw Error(`Cannot get the relative path of [${e}] inside ancestor [${t}], because it is not above or equal to the path.`);return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return pd(e,(r=>{var{affinity:i=`forward`}=n;if(e&&e?.length!==0){if(r===null)return null;switch(t.type){case`insert_node`:var{path:a}=t;(I.equals(a,r)||I.endsBefore(a,r)||I.isAncestor(a,r))&&(r[a.length-1]+=1);break;case`remove_node`:var{path:o}=t;if(I.equals(o,r)||I.isAncestor(o,r))return null;I.endsBefore(o,r)&&--r[o.length-1];break;case`merge_node`:var{path:s,position:c}=t;I.equals(s,r)||I.endsBefore(s,r)?--r[s.length-1]:I.isAncestor(s,r)&&(--r[s.length-1],r[s.length]+=c);break;case`split_node`:var{path:l,position:u}=t;if(I.equals(l,r)){if(i===`forward`)r[r.length-1]+=1;else if(i!==`backward`)return null}else I.endsBefore(l,r)?r[l.length-1]+=1:I.isAncestor(l,r)&&e[l.length]>=u&&(r[l.length-1]+=1,r[l.length]-=u);break;case`move_node`:var{path:d,newPath:f}=t;if(I.equals(d,f))return;if(I.isAncestor(d,r)||I.equals(d,r)){var p=f.slice();return I.endsBefore(d,f)&&d.length<f.length&&--p[d.length-1],p.concat(r.slice(d.length))}I.isSibling(d,f)&&(I.isAncestor(f,r)||I.equals(f,r))?I.endsBefore(d,r)?--r[d.length-1]:r[d.length-1]+=1:I.endsBefore(f,r)||I.equals(f,r)||I.isAncestor(f,r)?(I.endsBefore(d,r)&&--r[d.length-1],r[f.length-1]+=1):I.endsBefore(d,r)&&(I.equals(f,r)&&(r[f.length-1]+=1),--r[d.length-1])}}}))}},poe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=I.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}};function uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function df(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ff={compare(e,t){var n=I.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>ff.compare(e,t)===1,isBefore:(e,t)=>ff.compare(e,t)===-1,equals:(e,t)=>e.offset===t.offset&&I.equals(e.path,t.path),isPoint:e=>Eu(e)&&typeof e.offset==`number`&&I.isPath(e.path),transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return pd(e,(e=>{if(e===null)return null;var{affinity:r=`forward`}=n,{path:i,offset:a}=e;switch(t.type){case`insert_node`:case`move_node`:e.path=I.transform(i,t,n);break;case`insert_text`:I.equals(t.path,i)&&t.offset<=a&&(e.offset+=t.text.length);break;case`merge_node`:I.equals(t.path,i)&&(e.offset+=t.position),e.path=I.transform(i,t,n);break;case`remove_text`:I.equals(t.path,i)&&t.offset<=a&&(e.offset-=Math.min(a-t.offset,t.text.length));break;case`remove_node`:if(I.equals(t.path,i)||I.isAncestor(t.path,i))return null;e.path=I.transform(i,t,n);break;case`split_node`:if(I.equals(t.path,i)){if(t.position===a&&r==null)return null;(t.position<a||t.position===a&&r===`forward`)&&(e.offset-=t.position,e.path=I.transform(i,t,df(df({},n),{},{affinity:`forward`})))}else e.path=I.transform(i,t,n)}}))}},moe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=ff.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}},hoe=[`anchor`,`focus`];function pf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var L={edges(e){var{reverse:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{anchor:n,focus:r}=e;return L.isBackward(e)===t?[n,r]:[r,n]},end(e){var[,t]=L.edges(e);return t},equals:(e,t)=>ff.equals(e.anchor,t.anchor)&&ff.equals(e.focus,t.focus),includes(e,t){if(L.isRange(t)){if(L.includes(e,t.anchor)||L.includes(e,t.focus))return!0;var[n,r]=L.edges(e),[i,a]=L.edges(t);return ff.isBefore(n,i)&&ff.isAfter(r,a)}var[o,s]=L.edges(e),c=!1,l=!1;return ff.isPoint(t)?(c=ff.compare(t,o)>=0,l=ff.compare(t,s)<=0):(c=I.compare(t,o.path)>=0,l=I.compare(t,s.path)<=0),c&&l},intersection(e,t){var n=Dd(e,hoe),[r,i]=L.edges(e),[a,o]=L.edges(t),s=ff.isBefore(r,a)?a:r,c=ff.isBefore(i,o)?i:o;return ff.isBefore(c,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({anchor:s,focus:c},n)},isBackward(e){var{anchor:t,focus:n}=e;return ff.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return ff.equals(t,n)},isExpanded:e=>!L.isCollapsed(e),isForward:e=>!L.isBackward(e),isRange:e=>Eu(e)&&ff.isPoint(e.anchor)&&ff.isPoint(e.focus),*points(e){yield[e.anchor,`anchor`],yield[e.focus,`focus`]},start(e){var[t]=L.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return pd(e,(e=>{if(e===null)return null;var r,i,{affinity:a=`inward`}=n;if(a===`inward`){var o=L.isCollapsed(e);L.isForward(e)?(r=`forward`,i=o?r:`backward`):(r=`backward`,i=o?r:`forward`)}else a===`outward`?L.isForward(e)?(r=`backward`,i=`forward`):(r=`forward`,i=`backward`):(r=a,i=a);var s=ff.transform(e.anchor,t,{affinity:r}),c=ff.transform(e.focus,t,{affinity:i});if(!s||!c)return null;e.anchor=s,e.focus=c}))}},goe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=L.transform(n,t,{affinity:r});e.current=i,i??e.unref()}}},mf=(e,t)=>{for(var n in e){var r=e[n],i=t[n];if(Eu(r)&&Eu(i)){if(!mf(r,i))return!1}else if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(r[a]!==i[a])return!1}else if(r!==i)return!1}for(var o in t)if(e[o]===void 0&&t[o]!==void 0)return!1;return!0},_oe=[`text`],voe=[`anchor`,`focus`];function hf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={equals(e,t){var{loose:n=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};function r(e){return Dd(e,_oe)}return mf(n?r(e):e,n?r(t):t)},isText:e=>Eu(e)&&typeof e.text==`string`,isTextList:e=>Array.isArray(e)&&e.every((e=>R.isText(e))),isTextProps:e=>e.text!==void 0,matches(e,t){for(var n in t)if(n!==`text`&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[gf({},e)];for(var r of t){var i=Dd(r,voe),[a,o]=L.edges(r),s=[],c=0;for(var l of n){var{length:u}=l.text,d=c;if(c+=u,a.offset<=d&&o.offset>=c)Object.assign(l,i),s.push(l);else if(a.offset!==o.offset&&(a.offset===c||o.offset===d)||a.offset>c||o.offset<d||o.offset===d&&d!==0)s.push(l);else{var f=l,p=void 0,m=void 0;if(o.offset<c){var h=o.offset-d;m=gf(gf({},f),{},{text:f.text.slice(h)}),f=gf(gf({},f),{},{text:f.text.slice(0,h)})}if(a.offset>d){var g=a.offset-d;p=gf(gf({},f),{},{text:f.text.slice(0,g)}),f=gf(gf({},f),{},{text:f.text.slice(g)})}Object.assign(f,i),p&&s.push(p),s.push(f),m&&s.push(m)}}n=s}return n}};function _f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_f(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yoe={transform(e,t){e.children=md(e.children);var n=e.selection&&md(e.selection);try{n=((e,t,n)=>{switch(n.type){case`insert_node`:var{path:r,node:i}=n,a=F.parent(e,r),o=r[r.length-1];if(o>a.children.length)throw Error(`Cannot apply an "insert_node" operation at path [${r}] because the destination is past the end of the node.`);if(a.children.splice(o,0,i),t)for(var[s,c]of L.points(t))t[c]=ff.transform(s,n);break;case`insert_text`:var{path:l,offset:u,text:d}=n;if(d.length===0)break;var f=F.leaf(e,l),p=f.text.slice(0,u),m=f.text.slice(u);if(f.text=p+d+m,t)for(var[h,g]of L.points(t))t[g]=ff.transform(h,n);break;case`merge_node`:var{path:_}=n,v=F.get(e,_),y=I.previous(_),b=F.get(e,y),x=F.parent(e,_),S=_[_.length-1];if(R.isText(v)&&R.isText(b))b.text+=v.text;else{if(R.isText(v)||R.isText(b))throw Error(`Cannot apply a "merge_node" operation at path [${_}] to nodes of different interfaces: ${v} ${b}`);b.children.push(...v.children)}if(x.children.splice(S,1),t)for(var[C,w]of L.points(t))t[w]=ff.transform(C,n);break;case`move_node`:var{path:T,newPath:E}=n;if(I.isAncestor(T,E))throw Error(`Cannot move a path [${T}] to new path [${E}] because the destination is inside itself.`);var D=F.get(e,T),O=F.parent(e,T),ee=T[T.length-1];O.children.splice(ee,1);var k=I.transform(T,n),te=F.get(e,I.parent(k)),A=k[k.length-1];if(te.children.splice(A,0,D),t)for(var[ne,re]of L.points(t))t[re]=ff.transform(ne,n);break;case`remove_node`:var{path:ie}=n,ae=ie[ie.length-1];if(F.parent(e,ie).children.splice(ae,1),t)for(var[oe,se]of L.points(t)){var ce=ff.transform(oe,n);if(t!=null&&ce!=null)t[se]=ce;else{var le=void 0,ue=void 0;for(var[de,fe]of F.texts(e)){if(I.compare(fe,ie)!==-1){ue=[de,fe];break}le=[de,fe]}var pe=!1;le&&ue&&(pe=I.equals(ue[1],ie)?!I.hasPrevious(ue[1]):I.common(le[1],ie).length<I.common(ue[1],ie).length),le&&!pe?(oe.path=le[1],oe.offset=le[0].text.length):ue?(oe.path=ue[1],oe.offset=0):t=null}}break;case`remove_text`:var{path:me,offset:he,text:ge}=n;if(ge.length===0)break;var _e=F.leaf(e,me);if(_e.text=_e.text.slice(0,he)+_e.text.slice(he+ge.length),t)for(var[ve,ye]of L.points(t))t[ye]=ff.transform(ve,n);break;case`set_node`:var{path:be,properties:xe,newProperties:Se}=n;if(be.length===0)throw Error(`Cannot set properties on the root node!`);var Ce=F.get(e,be);for(var we in Se){if(we===`children`||we===`text`)throw Error(`Cannot set the "${we}" property of nodes!`);var Te=Se[we];Te==null?delete Ce[we]:Ce[we]=Te}for(var Ee in xe)Se.hasOwnProperty(Ee)||delete Ce[Ee];break;case`set_selection`:var{newProperties:De}=n;if(De==null)t=De;else{if(t==null){if(!L.isRange(De))throw Error(`Cannot apply an incomplete "set_selection" operation properties ${JSON.stringify(De)} when there is no current selection.`);t=vf({},De)}for(var Oe in De){var ke=De[Oe];if(ke==null){if(Oe===`anchor`||Oe===`focus`)throw Error(`Cannot remove the "${Oe}" selection property`);delete t[Oe]}else t[Oe]=ke}}break;case`split_node`:var{path:Ae,position:je,properties:Me}=n;if(Ae.length===0)throw Error(`Cannot apply a "split_node" operation at path [${Ae}] because the root node cannot be split.`);var Ne,Pe=F.get(e,Ae),Fe=F.parent(e,Ae),Ie=Ae[Ae.length-1];if(R.isText(Pe)){var Le=Pe.text.slice(0,je),Re=Pe.text.slice(je);Pe.text=Le,Ne=vf(vf({},Me),{},{text:Re})}else{var ze=Pe.children.slice(0,je),Be=Pe.children.slice(je);Pe.children=ze,Ne=vf(vf({},Me),{},{children:Be})}if(Fe.children.splice(Ie+1,0,Ne),t)for(var[Ve,He]of L.points(t))t[He]=ff.transform(Ve,n)}return t})(e,n,t)}finally{e.children=hd(e.children),e.selection=n?Ou(n)?hd(n):n:null}}},boe=[`text`],xoe=[`children`];function yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Soe={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};P.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:i=!1,mode:a=`lowest`}=n,{at:o,match:s,select:c}=n;if(F.isNode(t)&&(t=[t]),t.length!==0){var[l]=t;if(o||(o=e.selection?e.selection:e.children.length>0?P.end(e,[]):[0],c=!0),c??=!1,L.isRange(o))if(r||(o=P.unhangRange(e,o)),L.isCollapsed(o))o=o.anchor;else{var[,u]=L.edges(o),d=P.pointRef(e,u);z.delete(e,{at:o}),o=d.unref()}if(ff.isPoint(o)){s??=R.isText(l)?e=>R.isText(e):e.isInline(l)?t=>R.isText(t)||P.isInline(e,t):t=>P.isBlock(e,t);var[f]=P.nodes(e,{at:o.path,match:s,mode:a,voids:i});if(!f)return;var[,p]=f,m=P.pathRef(e,p),h=P.isEnd(e,o,p);z.splitNodes(e,{at:o,match:s,mode:a,voids:i});var g=m.unref();o=h?I.next(g):g}var _=I.parent(o),v=o[o.length-1];if(i||!P.void(e,{at:_})){for(var y of t){var b=_.concat(v);v++,e.apply({type:`insert_node`,path:b,node:y}),o=I.next(o)}if(o=I.previous(o),c){var x=P.end(e,o);x&&z.select(e,x)}}}}))},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r=`lowest`,voids:i=!1}=t,{match:a}=t;if(a??=I.isPath(n)?Sf(e,n):t=>P.isBlock(e,t),n){var o=P.nodes(e,{at:n,match:a,mode:r,voids:i});for(var s of Array.from(o,(t=>{var[,n]=t;return P.pathRef(e,n)}))){var c=s.unref();if(c.length<2)throw Error(`Cannot lift node at a path [${c}] because it has a depth of less than \`2\`.`);var[l,u]=P.node(e,I.parent(c)),d=c[c.length-1],{length:f}=l.children;if(f===1){var p=I.next(u);z.moveNodes(e,{at:c,to:p,voids:i}),z.removeNodes(e,{at:u,voids:i})}else if(d===0)z.moveNodes(e,{at:c,to:u,voids:i});else if(d===f-1){var m=I.next(u);z.moveNodes(e,{at:c,to:m,voids:i})}else{var h=I.next(c),g=I.next(u);z.splitNodes(e,{at:h,voids:i}),z.moveNodes(e,{at:c,to:g,voids:i})}}}}))},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:i=!1,voids:a=!1,mode:o=`lowest`}=t;if(r){if(n==null)if(I.isPath(r)){var[s]=P.parent(e,r);n=e=>s.children.includes(e)}else n=t=>P.isBlock(e,t);if(!i&&L.isRange(r)&&(r=P.unhangRange(e,r)),L.isRange(r))if(L.isCollapsed(r))r=r.anchor;else{var[,c]=L.edges(r),l=P.pointRef(e,c);z.delete(e,{at:r}),r=l.unref(),t.at??z.select(e,r)}var[u]=P.nodes(e,{at:r,match:n,voids:a,mode:o}),d=P.previous(e,{at:r,match:n,voids:a,mode:o});if(u&&d){var[f,p]=u,[m,h]=d;if(p.length!==0&&h.length!==0){var g,_,v=I.next(h),y=I.common(p,h),b=I.isSibling(p,h),x=Array.from(P.levels(e,{at:p}),(e=>{var[t]=e;return t})).slice(y.length).slice(0,-1),S=P.above(e,{at:p,mode:`highest`,match:t=>x.includes(t)&&xf(e,t)}),C=S&&P.pathRef(e,S[1]);if(R.isText(f)&&R.isText(m)){var w=Dd(f,boe);_=m.text.length,g=w}else{if(!N.isElement(f)||!N.isElement(m))throw Error(`Cannot merge the node at path [${p}] with the previous sibling because it is not the same kind: ${JSON.stringify(f)} ${JSON.stringify(m)}`);w=Dd(f,xoe),_=m.children.length,g=w}b||z.moveNodes(e,{at:p,to:v,voids:a}),C&&z.removeNodes(e,{at:C.current,voids:a}),N.isElement(m)&&P.isEmpty(e,m)||R.isText(m)&&m.text===``&&h[h.length-1]!==0?z.removeNodes(e,{at:h,voids:a}):e.apply({type:`merge_node`,path:v,position:_,properties:g}),C&&C.unref()}}}}))},moveNodes(e,t){P.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:i=`lowest`,voids:a=!1}=t,{match:o}=t;if(r){o??=I.isPath(r)?Sf(e,r):t=>P.isBlock(e,t);var s=P.pathRef(e,n),c=P.nodes(e,{at:r,match:o,mode:i,voids:a});for(var l of Array.from(c,(t=>{var[,n]=t;return P.pathRef(e,n)}))){var u=l.unref(),d=s.current;u.length!==0&&e.apply({type:`move_node`,path:u,newPath:d}),s.current&&I.isSibling(d,u)&&I.isAfter(d,u)&&(s.current=I.next(s.current))}s.unref()}}))},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:i=`lowest`}=t,{at:a=e.selection,match:o}=t;if(a){o??=I.isPath(a)?Sf(e,a):t=>P.isBlock(e,t),!n&&L.isRange(a)&&(a=P.unhangRange(e,a));var s=P.nodes(e,{at:a,match:o,mode:i,voids:r});for(var c of Array.from(s,(t=>{var[,n]=t;return P.pathRef(e,n)}))){var l=c.unref();if(l){var[u]=P.node(e,l);e.apply({type:`remove_node`,path:l,node:u})}}}}))},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};P.withoutNormalizing(e,(()=>{var{match:r,at:i=e.selection}=n,{hanging:a=!1,mode:o=`lowest`,split:s=!1,voids:c=!1}=n;if(i){if(r??=I.isPath(i)?Sf(e,i):t=>P.isBlock(e,t),!a&&L.isRange(i)&&(i=P.unhangRange(e,i)),s&&L.isRange(i)){if(L.isCollapsed(i)&&P.leaf(e,i.anchor)[0].text.length>0)return;var l=P.rangeRef(e,i,{affinity:`inward`}),[u,d]=L.edges(i),f=o===`lowest`?`lowest`:`highest`,p=P.isEnd(e,d,d.path);z.splitNodes(e,{at:d,match:r,mode:f,voids:c,always:!p});var m=P.isStart(e,u,u.path);z.splitNodes(e,{at:u,match:r,mode:f,voids:c,always:!m}),i=l.unref(),n.at??z.select(e,i)}for(var[h,g]of P.nodes(e,{at:i,match:r,mode:o,voids:c})){var _={},v={};if(g.length!==0){var y=!1;for(var b in t)b!==`children`&&b!==`text`&&t[b]!==h[b]&&(y=!0,h.hasOwnProperty(b)&&(_[b]=h[b]),t[b]!=null&&(v[b]=t[b]));y&&e.apply({type:`set_node`,path:g,properties:_,newProperties:v})}}}}))},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{mode:n=`lowest`,voids:r=!1}=t,{match:i,at:a=e.selection,height:o=0,always:s=!1}=t;if(i??=t=>P.isBlock(e,t),L.isRange(a)&&(a=Coe(e,a)),I.isPath(a)){var c=a,l=P.point(e,c),[u]=P.parent(e,c);i=e=>e===u,o=l.path.length-c.length+1,a=l,s=!0}if(a){var d=P.pointRef(e,a,{affinity:`backward`}),[f]=P.nodes(e,{at:a,match:i,mode:n,voids:r});if(f){var p=P.void(e,{at:a,mode:`highest`});if(!r&&p){var[m,h]=p;if(N.isElement(m)&&e.isInline(m)){var g=P.after(e,h);if(!g){var _=I.next(h);z.insertNodes(e,{text:``},{at:_,voids:r}),g=P.point(e,_)}a=g,s=!0}o=a.path.length-h.length+1,s=!0}var v=P.pointRef(e,a),y=a.path.length-o,[,b]=f,x=a.path.slice(0,y),S=o===0?a.offset:a.path[y]+0;for(var[C,w]of P.levels(e,{at:x,reverse:!0,voids:r})){var T=!1;if(w.length<b.length||w.length===0||!r&&P.isVoid(e,C))break;var E=d.current,D=P.isEnd(e,E,w);if(s||!d||!P.isEdge(e,E,w)){T=!0;var O=F.extractProps(C);e.apply({type:`split_node`,path:w,position:S,properties:O})}S=w[w.length-1]+(T||D?1:0)}if(t.at==null){var ee=v.current||P.end(e,[]);z.select(e,ee)}d.unref(),v.unref()}}}))},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var i of t)r[i]=null;z.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{mode:n=`lowest`,split:r=!1,voids:i=!1}=t,{at:a=e.selection,match:o}=t;if(a){o??=I.isPath(a)?Sf(e,a):t=>P.isBlock(e,t),I.isPath(a)&&(a=P.range(e,a));var s=L.isRange(a)?P.rangeRef(e,a):null,c=P.nodes(e,{at:a,match:o,mode:n,voids:i}),l=Array.from(c,(t=>{var[,n]=t;return P.pathRef(e,n)})).reverse(),u=function(t){var n=t.unref(),[a]=P.node(e,n),o=P.range(e,n);r&&s&&(o=L.intersection(s.current,o)),z.liftNodes(e,{at:o,match:e=>N.isAncestor(a)&&a.children.includes(e),voids:i})};for(var d of l)u(d);s&&s.unref()}}))},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};P.withoutNormalizing(e,(()=>{var{mode:r=`lowest`,split:i=!1,voids:a=!1}=n,{match:o,at:s=e.selection}=n;if(s){if(o??=I.isPath(s)?Sf(e,s):e.isInline(t)?t=>P.isInline(e,t)||R.isText(t):t=>P.isBlock(e,t),i&&L.isRange(s)){var[c,l]=L.edges(s),u=P.rangeRef(e,s,{affinity:`inward`});z.splitNodes(e,{at:l,match:o,voids:a}),z.splitNodes(e,{at:c,match:o,voids:a}),s=u.unref(),n.at??z.select(e,s)}for(var[,d]of Array.from(P.nodes(e,{at:s,match:e.isInline(t)?t=>P.isBlock(e,t):e=>P.isEditor(e),mode:`lowest`,voids:a}))){var f=L.isRange(s)?L.intersection(s,P.range(e,d)):s;if(f){var p=Array.from(P.nodes(e,{at:f,match:o,mode:r,voids:a}));if(p.length>0&&function(){var[n]=p,r=p[p.length-1],[,i]=n,[,o]=r;if(i.length===0&&o.length===0)return`continue`;var s=I.equals(i,o)?I.parent(i):I.common(i,o),c=P.range(e,i,o),[l]=P.node(e,s),u=s.length+1,d=I.next(o.slice(0,u)),f=bf(bf({},t),{},{children:[]});z.insertNodes(e,f,{at:d,voids:a}),z.moveNodes(e,{at:c,match:e=>N.isAncestor(l)&&l.children.includes(e),to:d.concat(0),voids:a})}()===`continue`)continue}}}}))}},xf=(e,t)=>{if(N.isElement(t)){var n=t;return!!P.isVoid(e,t)||n.children.length===1&&xf(e,n.children[0])}return!P.isEditor(t)},Coe=(e,t)=>{if(L.isCollapsed(t))return t.anchor;var[,n]=L.edges(t),r=P.pointRef(e,n);return z.delete(e,{at:t}),r.unref()},Sf=(e,t)=>{var[n]=P.node(e,t);return e=>e===n};function Cf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Cf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var woe={collapse(e){var{edge:t=`anchor`}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e;if(n){if(t===`anchor`)z.select(e,n.anchor);else if(t===`focus`)z.select(e,n.focus);else if(t===`start`){var[r]=L.edges(n);z.select(e,r)}else if(t===`end`){var[,i]=L.edges(n);z.select(e,i)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:`set_selection`,properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:i=`character`,reverse:a=!1}=t,{edge:o=null}=t;if(n){o===`start`&&(o=L.isBackward(n)?`focus`:`anchor`),o===`end`&&(o=L.isBackward(n)?`anchor`:`focus`);var{anchor:s,focus:c}=n,l={distance:r,unit:i},u={};if(o==null||o===`anchor`){var d=a?P.before(e,s,l):P.after(e,s,l);d&&(u.anchor=d)}if(o==null||o===`focus`){var f=a?P.before(e,c,l):P.after(e,c,l);f&&(u.focus=f)}z.setSelection(e,u)}},select(e,t){var{selection:n}=e;if(t=P.range(e,t),n)z.setSelection(e,t);else{if(!L.isRange(t))throw Error(`When setting the selection and the current selection is \`null\` you must provide at least an \`anchor\` and \`focus\`, but you passed: ${JSON.stringify(t)}`);e.apply({type:`set_selection`,properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:i=`both`}=n;if(r){i===`start`&&(i=L.isBackward(r)?`focus`:`anchor`),i===`end`&&(i=L.isBackward(r)?`anchor`:`focus`);var{anchor:a,focus:o}=r,s=i===`anchor`?a:o;z.setSelection(e,{[i===`anchor`?`anchor`:`focus`]:wf(wf({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},i={};if(n){for(var a in t)(a===`anchor`&&t.anchor!=null&&!ff.equals(t.anchor,n.anchor)||a===`focus`&&t.focus!=null&&!ff.equals(t.focus,n.focus)||a!==`anchor`&&a!==`focus`&&t[a]!==n[a])&&(r[a]=n[a],i[a]=t[a]);Object.keys(r).length>0&&e.apply({type:`set_selection`,properties:r,newProperties:i})}}},Toe={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.withoutNormalizing(e,(()=>{var{reverse:n=!1,unit:r=`character`,distance:i=1,voids:a=!1}=t,{at:o=e.selection,hanging:s=!1}=t;if(o){if(L.isRange(o)&&L.isCollapsed(o)&&(o=o.anchor),ff.isPoint(o)){var c=P.void(e,{at:o,mode:`highest`});if(!a&&c){var[,l]=c;o=l}else{var u={unit:r,distance:i};o={anchor:o,focus:n?P.before(e,o,u)||P.start(e,[]):P.after(e,o,u)||P.end(e,[])},s=!0}}if(I.isPath(o))z.removeNodes(e,{at:o,voids:a});else if(!L.isCollapsed(o)){if(!s){var[,d]=L.edges(o),f=P.end(e,[]);ff.equals(d,f)||(o=P.unhangRange(e,o,{voids:a}))}var[p,m]=L.edges(o),h=P.above(e,{match:t=>P.isBlock(e,t),at:p,voids:a}),g=P.above(e,{match:t=>P.isBlock(e,t),at:m,voids:a}),_=h&&g&&!I.equals(h[1],g[1]),v=I.equals(p.path,m.path),y=a?null:P.void(e,{at:p,mode:`highest`}),b=a?null:P.void(e,{at:m,mode:`highest`});if(y){var x=P.before(e,p);x&&h&&I.isAncestor(h[1],x.path)&&(p=x)}if(b){var S=P.after(e,m);S&&g&&I.isAncestor(g[1],S.path)&&(m=S)}var C,w=[];for(var T of P.nodes(e,{at:o,voids:a})){var[E,D]=T;C&&I.compare(D,C)===0||(!a&&P.isVoid(e,E)||!I.isCommon(D,p.path)&&!I.isCommon(D,m.path))&&(w.push(T),C=D)}var O=Array.from(w,(t=>{var[,n]=t;return P.pathRef(e,n)})),ee=P.pointRef(e,p),k=P.pointRef(e,m);if(!v&&!y){var te=ee.current,[A]=P.leaf(e,te),{path:ne}=te,{offset:re}=p,ie=A.text.slice(re);ie.length>0&&e.apply({type:`remove_text`,path:ne,offset:re,text:ie})}for(var ae of O){var oe=ae.unref();z.removeNodes(e,{at:oe,voids:a})}if(!b){var se=k.current,[ce]=P.leaf(e,se),{path:le}=se,ue=v?p.offset:0,de=ce.text.slice(ue,m.offset);de.length>0&&e.apply({type:`remove_text`,path:le,offset:ue,text:de})}!v&&_&&k.current&&ee.current&&z.mergeNodes(e,{at:k.current,hanging:!0,voids:a});var fe=n?ee.unref()||k.unref():k.unref()||ee.unref();t.at==null&&fe&&z.select(e,fe)}}}))},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};P.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:i=!1}=n,{at:a=e.selection}=n;if(t.length&&a){if(L.isRange(a))if(r||(a=P.unhangRange(e,a)),L.isCollapsed(a))a=a.anchor;else{var[,o]=L.edges(a);if(!i&&P.void(e,{at:o}))return;var s=P.pointRef(e,o);z.delete(e,{at:a}),a=s.unref()}else I.isPath(a)&&(a=P.start(e,a));if(i||!P.void(e,{at:a})){var c=P.above(e,{at:a,match:t=>P.isInline(e,t),mode:`highest`,voids:i});if(c){var[,l]=c;P.isEnd(e,a,l)?a=P.after(e,l):P.isStart(e,a,l)&&(a=P.before(e,l))}var[,u]=P.above(e,{match:t=>P.isBlock(e,t),at:a,voids:i}),d=P.isStart(e,a,u),f=P.isEnd(e,a,u),p=d&&f,m=!d||d&&f,h=!f,[,g]=F.first({children:t},[]),[,_]=F.last({children:t},[]),v=[],y=t=>{var[n,r]=t;return r.length!==0&&(!!p||!(m&&I.isAncestor(r,g)&&N.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(h&&I.isAncestor(r,_)&&N.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var b of F.nodes({children:t},{pass:y}))y(b)&&v.push(b);var x=[],S=[],C=[],w=!0,T=!1;for(var[E]of v)N.isElement(E)&&!e.isInline(E)?(w=!1,T=!0,S.push(E)):w?x.push(E):C.push(E);var[D]=P.nodes(e,{at:a,match:t=>R.isText(t)||P.isInline(e,t),mode:`highest`,voids:i}),[,O]=D,ee=P.isStart(e,a,O),k=P.isEnd(e,a,O),te=P.pathRef(e,f?I.next(u):u),A=P.pathRef(e,k?I.next(O):O),ne=P.pathRef(e,u);z.splitNodes(e,{at:a,match:t=>T?P.isBlock(e,t):R.isText(t)||P.isInline(e,t),mode:T?`lowest`:`highest`,voids:i});var re=P.pathRef(e,!ee||ee&&k?I.next(O):O);if(z.insertNodes(e,x,{at:re.current,match:t=>R.isText(t)||P.isInline(e,t),mode:`highest`,voids:i}),p&&S.length&&z.delete(e,{at:ne.unref(),voids:i}),z.insertNodes(e,S,{at:te.current,match:t=>P.isBlock(e,t),mode:`lowest`,voids:i}),z.insertNodes(e,C,{at:A.current,match:t=>R.isText(t)||P.isInline(e,t),mode:`highest`,voids:i}),!n.at){var ie=C.length>0?I.previous(A.current):S.length>0?I.previous(te.current):I.previous(re.current),ae=P.end(e,ie);z.select(e,ae)}re.unref(),te.unref(),A.unref()}}}))},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};P.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:i=e.selection}=n;if(i){if(I.isPath(i)&&(i=P.range(e,i)),L.isRange(i))if(L.isCollapsed(i))i=i.anchor;else{var a=L.end(i);if(!r&&P.void(e,{at:a}))return;var o=P.pointRef(e,a);z.delete(e,{at:i,voids:r}),i=o.unref(),z.setSelection(e,{anchor:i,focus:i})}if(r||!P.void(e,{at:i})){var{path:s,offset:c}=i;t.length>0&&e.apply({type:`insert_text`,path:s,offset:c,text:t})}}}))}};function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ef(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Tf(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z=Ef(Ef(Ef(Ef({},yoe),Soe),woe),Toe),Df=`[object Map]`,Of=`[object Set]`,Eoe=/^\[object .+?Constructor\]$/,Doe=/^(?:0|[1-9]\d*)$/,Ooe=`[\\ud800-\\udfff]`,kf=`[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]`,Af=`\\ud83c[\\udffb-\\udfff]`,jf=`[^\\ud800-\\udfff]`,Mf=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Nf=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Pf=`(?:`+kf+`|`+Af+`)?`,koe=`[\\ufe0e\\ufe0f]?`+Pf+(`(?:\\u200d(?:`+[jf,Mf,Nf].join(`|`)+`)[\\ufe0e\\ufe0f]?`+Pf+`)*`),Aoe=`(?:`+[jf+kf+`?`,kf,Mf,Nf,Ooe].join(`|`)+`)`,joe=RegExp(Af+`(?=`+Af+`)|`+Aoe+koe,`g`),Moe=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]`),Noe=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,Poe=typeof self==`object`&&self&&self.Object===Object&&self,Ff=Noe||Poe||Function(`return this`)();function Foe(e,t){return function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(t,(function(t){return e[t]}))}function Ioe(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Loe(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Roe(e){return function(e){return Moe.test(e)}(e)?function(e){return e.match(joe)||[]}(e):function(e){return e.split(``)}(e)}var If,Lf,zoe=Function.prototype,Rf=Object.prototype,zf=Ff[`__core-js_shared__`],Bf=function(){var e=/[^.]+$/.exec(zf&&zf.keys&&zf.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),Vf=zoe.toString,Hf=Rf.hasOwnProperty,Uf=Rf.toString,Boe=RegExp(`^`+Vf.call(Hf).replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),Wf=Ff.Symbol,Gf=Wf?Wf.iterator:void 0,Voe=Rf.propertyIsEnumerable,Hoe=(If=Object.keys,Lf=Object,function(e){return If(Lf(e))}),Kf=Zf(Ff,`DataView`),qf=Zf(Ff,`Map`),Jf=Zf(Ff,`Promise`),Yf=Zf(Ff,`Set`),Xf=Zf(Ff,`WeakMap`),Uoe=$f(Kf),Woe=$f(qf),Goe=$f(Jf),Koe=$f(Yf),qoe=$f(Xf);function Joe(e,t){var n=ep(e)||function(e){return function(e){return ip(e)&&tp(e)}(e)&&Hf.call(e,`callee`)&&(!Voe.call(e,`callee`)||Uf.call(e)==`[object Arguments]`)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!Hf.call(e,a)||i&&(a==`length`||Zoe(a,r))||n.push(a);return n}function Yoe(e){return!rp(e)||function(e){return!!Bf&&Bf in e}(e)?!1:(np(e)||function(e){var t=!1;if(e!=null&&typeof e.toString!=`function`)try{t=!!(e+``)}catch{}return t}(e)?Boe:Eoe).test($f(e))}function Xoe(e){if(n=(t=e)&&t.constructor,r=typeof n==`function`&&n.prototype||Rf,t!==r)return Hoe(e);var t,n,r,i=[];for(var a in Object(e))Hf.call(e,a)&&a!=`constructor`&&i.push(a);return i}function Zf(e,t){var n=function(e,t){return e?.[t]}(e,t);return Yoe(n)?n:void 0}var Qf=function(e){return Uf.call(e)};function Zoe(e,t){return!!(t??=9007199254740991)&&(typeof e==`number`||Doe.test(e))&&e>-1&&e%1==0&&e<t}function $f(e){if(e!=null){try{return Vf.call(e)}catch{}try{return e+``}catch{}}return``}(Kf&&Qf(new Kf(new ArrayBuffer(1)))!=`[object DataView]`||qf&&Qf(new qf)!=Df||Jf&&Qf(Jf.resolve())!=`[object Promise]`||Yf&&Qf(new Yf)!=Of||Xf&&Qf(new Xf)!=`[object WeakMap]`)&&(Qf=function(e){var t=Uf.call(e),n=t==`[object Object]`?e.constructor:void 0,r=n?$f(n):void 0;if(r)switch(r){case Uoe:return`[object DataView]`;case Woe:return Df;case Goe:return`[object Promise]`;case Koe:return Of;case qoe:return`[object WeakMap]`}return t});var ep=Array.isArray;function tp(e){return e!=null&&function(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!np(e)}function np(e){var t=rp(e)?Uf.call(e):``;return t==`[object Function]`||t==`[object GeneratorFunction]`}function rp(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function ip(e){return!!e&&typeof e==`object`}function Qoe(e){return e?Foe(e,function(e){return tp(e)?Joe(e):Xoe(e)}(e)):[]}var ap=function(e){if(!e)return[];if(tp(e))return function(e){return typeof e==`string`||!ep(e)&&ip(e)&&Uf.call(e)==`[object String]`}(e)?Roe(e):function(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}(e);if(Gf&&e[Gf])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Gf]());var t=Qf(e);return(t==Df?Ioe:t==Of?Loe:Qoe)(e)};function op(e){return typeof e==`object`&&!!e&&`constructor`in e&&e.constructor===Object}function sp(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach((function(n){e[n]===void 0?e[n]=t[n]:op(t[n])&&op(e[n])&&Object.keys(t[n]).length>0&&sp(e[n],t[n])}))}var cp={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:``},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:``,host:``,hostname:``,href:``,origin:``,pathname:``,protocol:``,search:``}};function lp(){var e=typeof document<`u`?document:{};return sp(e,cp),e}var $oe={document:cp,navigator:{userAgent:``},location:{hash:``,host:``,hostname:``,href:``,origin:``,pathname:``,protocol:``,search:``},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return``}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout>`u`?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout<`u`&&clearTimeout(e)}};function up(){var e=typeof window<`u`?window:{};return sp(e,$oe),e}function dp(e){return dp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},dp(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fp(e,t)}function ese(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}}function pp(e,t,n){return pp=ese()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&fp(i,n.prototype),i},pp.apply(null,arguments)}function mp(e){var t=typeof Map==`function`?new Map:void 0;return mp=function(e){if(e===null||!function(e){return Function.toString.call(e).indexOf(`[native code]`)!==-1}(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return pp(e,arguments,dp(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),fp(n,e)},mp(e)}var hp=function(e){var t,n;function r(t){var n,r,i;return n=e.call.apply(e,[this].concat(t))||this,r=function(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}(n),i=r.__proto__,Object.defineProperty(r,`__proto__`,{get:function(){return i},set:function(e){i.__proto__=e}}),n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(mp(Array));function gp(e){e===void 0&&(e=[]);var t=[];return e.forEach((function(e){Array.isArray(e)?t.push.apply(t,gp(e)):t.push(e)})),t}function _p(e,t){return Array.prototype.filter.call(e,t)}function B(e,t){var n=up(),r=lp(),i=[];if(!t&&e instanceof hp)return e;if(!e)return new hp(i);if(typeof e==`string`){var a=e.trim();if(a.indexOf(`<`)>=0&&a.indexOf(`>`)>=0){var o=`div`;a.indexOf(`<li`)===0&&(o=`ul`),a.indexOf(`<tr`)===0&&(o=`tbody`),a.indexOf(`<td`)!==0&&a.indexOf(`<th`)!==0||(o=`tr`),a.indexOf(`<tbody`)===0&&(o=`table`),a.indexOf(`<option`)===0&&(o=`select`);var s=r.createElement(o);s.innerHTML=a;for(var c=0;c<s.childNodes.length;c+=1)i.push(s.childNodes[c])}else i=function(e,t){if(typeof e!=`string`)return[e];for(var n=[],r=t.querySelectorAll(e),i=0;i<r.length;i+=1)n.push(r[i]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof hp)return e;i=e}return new hp(function(e){for(var t=[],n=0;n<e.length;n+=1)t.indexOf(e[n])===-1&&t.push(e[n]);return t}(i))}function vp(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=gp(t.map((function(e){return e.split(` `)})));return this.forEach((function(e){var t;(t=e.classList).add.apply(t,r)})),this}function yp(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=gp(t.map((function(e){return e.split(` `)})));return this.forEach((function(e){var t;(t=e.classList).remove.apply(t,r)})),this}function bp(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=gp(t.map((function(e){return e.split(` `)})));return _p(this,(function(e){return r.filter((function(t){return e.classList.contains(t)})).length>0})).length>0}function xp(e,t){if(arguments.length===1&&typeof e==`string`)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function Sp(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function Cp(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var i=0;i<e.attributes.length;i+=1){var a=e.attributes[i];a.name.indexOf(`data-`)>=0&&(n[t=a.name.split(`data-`)[1],t.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=a.value)}for(var o in n)n[o]===`false`?n[o]=!1:n[o]===`true`?n[o]=!0:parseFloat(n[o])===1*n[o]&&(n[o]*=1);return n}}function wp(e){if(e===void 0){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()===`select`){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var i=0;i<this.length;i+=1){var a=this[i];if(Array.isArray(e)&&a.multiple&&a.nodeName.toLowerCase()===`select`)for(var o=0;o<a.options.length;o+=1)a.options[o].selected=e.indexOf(a.options[o].value)>=0;else a.value=e}return this}function Tp(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=t[2],o=t[3];function s(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),B(t).is(i))a.apply(t,n);else for(var r=B(t).parents(),o=0;o<r.length;o+=1)B(r[o]).is(i)&&a.apply(r[o],n)}}function c(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}typeof t[1]==`function`&&(r=t[0],a=t[1],o=t[2],i=void 0),o||=!1;for(var l,u=r.split(` `),d=0;d<this.length;d+=1){var f=this[d];if(i)for(l=0;l<u.length;l+=1){var p=u[l];f.dom7LiveListeners||={},f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:s}),f.addEventListener(p,s,o)}else for(l=0;l<u.length;l+=1){var m=u[l];f.dom7Listeners||={},f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:c}),f.addEventListener(m,c,o)}}return this}function Ep(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],a=t[2],o=t[3];typeof t[1]==`function`&&(r=t[0],a=t[1],o=t[2],i=void 0),o||=!1;for(var s=r.split(` `),c=0;c<s.length;c+=1)for(var l=s[c],u=0;u<this.length;u+=1){var d=this[u],f=void 0;if(!i&&d.dom7Listeners?f=d.dom7Listeners[l]:i&&d.dom7LiveListeners&&(f=d.dom7LiveListeners[l]),f&&f.length)for(var p=f.length-1;p>=0;--p){var m=f[p];a&&m.listener===a||a&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===a?(d.removeEventListener(l,m.proxyListener,o),f.splice(p,1)):a||(d.removeEventListener(l,m.proxyListener,o),f.splice(p,1))}}return this}function Dp(){var e=up();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css(`width`)):null}function Op(){var e=up();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css(`height`)):null}function kp(){if(this.length>0){var e=up(),t=lp(),n=this[0],r=n.getBoundingClientRect(),i=t.body,a=n.clientTop||i.clientTop||0,o=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,c=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-a,left:r.left+c-o}}return null}function Ap(){for(var e=0;e<this.length;e+=1)this[e].style.display=`none`;return this}function jp(){for(var e=up(),t=0;t<this.length;t+=1){var n=this[t];n.style.display===`none`&&(n.style.display=``),e.getComputedStyle(n,null).getPropertyValue(`display`)===`none`&&(n.style.display=`block`)}return this}function Mp(e,t){var n,r=up();if(arguments.length===1){if(typeof e!=`string`){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(arguments.length===2&&typeof e==`string`){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function Np(e){return e&&this.forEach((function(t,n){e.apply(t,[t,n])})),this}function Pp(e){return B(_p(this,e))}function Fp(e){if(e===void 0)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function Ip(e){if(e===void 0)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function Lp(e){var t,n,r=up(),i=lp(),a=this[0];if(!a||e===void 0)return!1;if(typeof e==`string`){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(t=B(e),n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}if(e===i)return a===i;if(e===r)return a===r;if(e.nodeType||e instanceof hp){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}return!1}function Rp(){for(var e,t=lp(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e==`string`){var i=t.createElement(`div`);for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof hp)for(var a=0;a<e.length;a+=1)this[r].appendChild(e[a]);else this[r].appendChild(e)}return this}function zp(e){var t,n,r=lp();for(t=0;t<this.length;t+=1)if(typeof e==`string`){var i=r.createElement(`div`);for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;--n)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof hp)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function Bp(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?B(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return B(t)}function Vp(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?B(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return B(t)}function Hp(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return B(t)}function Up(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!B(r[i]).is(e)||t.push(r[i]);return B(t)}function Wp(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Gp(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=``}}return this}B.fn=hp.prototype;var tse=`resize scroll`.split(` `);function Kp(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n[0]===void 0){for(var i=0;i<this.length;i+=1)tse.indexOf(e)<0&&(e in this[i]?this[i][e]():B(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var qp=Kp(`click`),Jp=Kp(`focus`),nse=`[object GeneratorFunction]`,rse=/^(?:0|[1-9]\d*)$/;function ise(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););return e}var Yp=Object.prototype,Xp=Yp.hasOwnProperty,Zp=Yp.toString,ase=Yp.propertyIsEnumerable,ose=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);function sse(e,t){var n=em(e)||function(e){return function(e){return function(e){return!!e&&typeof e==`object`}(e)&&tm(e)}(e)&&Xp.call(e,`callee`)&&(!ase.call(e,`callee`)||Zp.call(e)==`[object Arguments]`)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!Xp.call(e,a)||i&&(a==`length`||dse(a,r))||n.push(a);return n}var Qp,$p,cse=(Qp=function(e,t){return e&&lse(e,t,fse)},function(e,t){if(e==null)return e;if(!tm(e))return Qp(e,t);for(var n=e.length,r=$p?n:-1,i=Object(e);($p?r--:++r<n)&&!1!==t(i[r],r,i););return e}),lse=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===n(a[c],c,a))break}return t}}();function use(e){if(n=(t=e)&&t.constructor,r=typeof n==`function`&&n.prototype||Yp,t!==r)return ose(e);var t,n,r,i=[];for(var a in Object(e))Xp.call(e,a)&&a!=`constructor`&&i.push(a);return i}function dse(e,t){return!!(t??=9007199254740991)&&(typeof e==`number`||rse.test(e))&&e>-1&&e%1==0&&e<t}var em=Array.isArray;function tm(e){return e!=null&&function(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}(e)?Zp.call(e):``;return t==`[object Function]`||t==nse}(e)}function fse(e){return tm(e)?sse(e):use(e)}function pse(e){return e}var nm=function(e,t){return(em(e)?ise:cse)(e,typeof t==`function`?t:pse)},rm=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?`_`:`-`}return t},mse=/^\s+|\s+$/g,hse=/^[-+]0x[0-9a-f]+$/i,gse=/^0b[01]+$/i,_se=/^0o[0-7]+$/i,vse=parseInt,yse=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,bse=typeof self==`object`&&self&&self.Object===Object&&self,xse=yse||bse||Function(`return this`)(),Sse=Object.prototype.toString,Cse=Math.max,wse=Math.min,im=function(){return xse.Date.now()};function Tse(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n)}function m(e){return l=e,s=setTimeout(g,t),u?p(e):o}function h(e){var n=e-c;return c===void 0||n>=t||n<0||d&&e-l>=a}function g(){var e=im();if(h(e))return _(e);s=setTimeout(g,function(e){var n=t-(e-c);return d?wse(n,a-(e-l)):n}(e))}function _(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function v(){var e=im(),n=h(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return s=setTimeout(g,t),p(c)}return s===void 0&&(s=setTimeout(g,t)),o}return t=om(t)||0,am(n)&&(u=!!n.leading,a=(d=`maxWait`in n)?Cse(om(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f),v.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0},v.flush=function(){return s===void 0?o:_(im())},v}function am(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function om(e){if(typeof e==`number`)return e;if(function(e){return typeof e==`symbol`||function(e){return!!e&&typeof e==`object`}(e)&&Sse.call(e)==`[object Symbol]`}(e))return NaN;if(am(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=am(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(mse,``);var n=gse.test(e);return n||_se.test(e)?vse(e.slice(2),n?2:8):hse.test(e)?NaN:+e}var sm=function(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);return am(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),Tse(e,t,{leading:r,maxWait:t,trailing:i})},Ese={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return e.nodeType===1},isText:function(e){return e.nodeType===3},isComment:function(e){return e.nodeType===8}};function cm(e,t,n,r,i){return{sel:e,data:t,children:n,text:r,elm:i,key:t===void 0?void 0:t.key}}var lm=Array.isArray;function um(e){return typeof e==`string`||typeof e==`number`||e instanceof String||e instanceof Number}function dm(e){return e===void 0}function fm(e){return e!==void 0}var pm=cm(``,{},[],void 0,void 0);function mm(e,t){let n=e.key===t.key,r=e.data?.is===t.data?.is;return e.sel===t.sel&&n&&r}function Dse(e,t,n){let r={};for(let i=t;i<=n;++i){let t=e[i]?.key;t!==void 0&&(r[t]=i)}return r}var Ose=[`create`,`update`,`remove`,`destroy`,`pre`,`post`];function kse(e,t){let n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t===void 0?Ese:t;for(let t of Ose)for(let r of e){let e=r[t];e!==void 0&&n[t].push(e)}function i(e){let t=e.id?`#`+e.id:``,n=e.getAttribute(`class`),i=n?`.`+n.split(` `).join(`.`):``;return cm(r.tagName(e).toLowerCase()+t+i,{},[],void 0,e)}function a(e,t){return function(){if(--t==0){let t=r.parentNode(e);r.removeChild(t,e)}}}function o(e,t){var i;let a,s=e.data;if(s!==void 0){let t=s.hook?.init;fm(t)&&(t(e),s=e.data)}let c=e.children,l=e.sel;if(l===`!`)dm(e.text)&&(e.text=``),e.elm=r.createComment(e.text);else if(l!==void 0){let u=l.indexOf(`#`),d=l.indexOf(`.`,u),f=u>0?u:l.length,p=d>0?d:l.length,m=u!==-1||d!==-1?l.slice(0,Math.min(f,p)):l,h=e.elm=fm(s)&&fm(a=s.ns)?r.createElementNS(a,m,s):r.createElement(m,s);for(f<p&&h.setAttribute(`id`,l.slice(f+1,p)),d>0&&h.setAttribute(`class`,l.slice(p+1).replace(/\./g,` `)),a=0;a<n.create.length;++a)n.create[a](pm,e);if(lm(c))for(a=0;a<c.length;++a){let e=c[a];e!=null&&r.appendChild(h,o(e,t))}else um(e.text)&&r.appendChild(h,r.createTextNode(e.text));let g=e.data.hook;fm(g)&&((i=g.create)==null||i.call(g,pm,e),g.insert&&t.push(e))}else e.elm=r.createTextNode(e.text);return e.elm}function s(e,t,n,i,a,s){for(;i<=a;++i){let a=n[i];a!=null&&r.insertBefore(e,o(a,s),t)}}function c(e){var t,r;let i=e.data;if(i!==void 0){(r=(t=i?.hook)?.destroy)==null||r.call(t,e);for(let t=0;t<n.destroy.length;++t)n.destroy[t](e);if(e.children!==void 0)for(let t=0;t<e.children.length;++t){let n=e.children[t];n!=null&&typeof n!=`string`&&c(n)}}}function l(e,t,i,o){for(;i<=o;++i){let o,s,l=t[i];if(l!=null)if(fm(l.sel)){c(l),o=n.remove.length+1,s=a(l.elm,o);for(let e=0;e<n.remove.length;++e)n.remove[e](l,s);let e=l?.data?.hook?.remove;fm(e)?e(l,s):s()}else r.removeChild(e,l.elm)}}function u(e,t,i){var a,c,d,f;let p=t.data?.hook;(a=p?.prepatch)==null||a.call(p,e,t);let m=t.elm=e.elm,h=e.children,g=t.children;if(e!==t){if(t.data!==void 0){for(let r=0;r<n.update.length;++r)n.update[r](e,t);(d=(c=t.data.hook)?.update)==null||d.call(c,e,t)}dm(t.text)?fm(h)&&fm(g)?h!==g&&function(e,t,n,i){let a,c,d,f,p=0,m=0,h=t.length-1,g=t[0],_=t[h],v=n.length-1,y=n[0],b=n[v];for(;p<=h&&m<=v;)g==null?g=t[++p]:_==null?_=t[--h]:y==null?y=n[++m]:b==null?b=n[--v]:mm(g,y)?(u(g,y,i),g=t[++p],y=n[++m]):mm(_,b)?(u(_,b,i),_=t[--h],b=n[--v]):mm(g,b)?(u(g,b,i),r.insertBefore(e,g.elm,r.nextSibling(_.elm)),g=t[++p],b=n[--v]):mm(_,y)?(u(_,y,i),r.insertBefore(e,_.elm,g.elm),_=t[--h],y=n[++m]):(a===void 0&&(a=Dse(t,p,h)),c=a[y.key],dm(c)?r.insertBefore(e,o(y,i),g.elm):(d=t[c],d.sel===y.sel?(u(d,y,i),t[c]=void 0,r.insertBefore(e,d.elm,g.elm)):r.insertBefore(e,o(y,i),g.elm)),y=n[++m]);(p<=h||m<=v)&&(p>h?(f=n[v+1]==null?null:n[v+1].elm,s(e,f,n,m,v,i)):l(e,t,p,h))}(m,h,g,i):fm(g)?(fm(e.text)&&r.setTextContent(m,``),s(m,null,g,0,g.length-1,i)):fm(h)?l(m,h,0,h.length-1):fm(e.text)&&r.setTextContent(m,``):e.text!==t.text&&(fm(h)&&l(m,h,0,h.length-1),r.setTextContent(m,t.text)),(f=p?.postpatch)==null||f.call(p,e,t)}}return function(e,t){let a,s,c,d=[];for(a=0;a<n.pre.length;++a)n.pre[a]();for(function(e){return e.sel!==void 0}(e)||(e=i(e)),mm(e,t)?u(e,t,d):(s=e.elm,c=r.parentNode(s),o(t,d),c!==null&&(r.insertBefore(c,t.elm,r.nextSibling(s)),l(c,[e],0,0))),a=0;a<d.length;++a)d[a].data.hook.insert(d[a]);for(a=0;a<n.post.length;++a)n.post[a]();return t}}function hm(e,t,n){if(e.ns=`http://www.w3.org/2000/svg`,n!==`foreignObject`&&t!==void 0)for(let e=0;e<t.length;++e){let n=t[e].data;n!==void 0&&hm(n,t[e].children,t[e].sel)}}function gm(e,t,n){let r,i,a,o={};if(n===void 0?t!=null&&(lm(t)?r=t:um(t)?i=t.toString():t&&t.sel?r=[t]:o=t):(t!==null&&(o=t),lm(n)?r=n:um(n)?i=n.toString():n&&n.sel&&(r=[n])),r!==void 0)for(a=0;a<r.length;++a)um(r[a])&&(r[a]=cm(void 0,void 0,void 0,r[a],void 0));return e[0]!==`s`||e[1]!==`v`||e[2]!==`g`||e.length!==3&&e[3]!==`.`&&e[3]!==`#`||hm(o,r,e),cm(e,o,r,i,void 0)}function _m(e,t){let n,r=t.elm,i=e.data.attrs,a=t.data.attrs;if((i||a)&&i!==a){for(n in i||={},a||={},a){let e=a[n];i[n]!==e&&(!0===e?r.setAttribute(n,``):!1===e?r.removeAttribute(n):n.charCodeAt(0)===120?n.charCodeAt(3)===58?r.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,n,e):n.charCodeAt(5)===58?r.setAttributeNS(`http://www.w3.org/1999/xlink`,n,e):r.setAttribute(n,e):r.setAttribute(n,e))}for(n in i)n in a||r.removeAttribute(n)}}var Ase={create:_m,update:_m};function vm(e,t){let n,r,i=t.elm,a=e.data.class,o=t.data.class;if((a||o)&&a!==o){for(r in a||={},o||={},a)a[r]&&!Object.prototype.hasOwnProperty.call(o,r)&&i.classList.remove(r);for(r in o)n=o[r],n!==a[r]&&i.classList[n?`add`:`remove`](r)}}var jse={create:vm,update:vm},ym=/[A-Z]/g;function bm(e,t){let n=t.elm,r,i=e.data.dataset,a=t.data.dataset;if(!i&&!a||i===a)return;i||={},a||={};let o=n.dataset;for(r in i)a[r]||(o?r in o&&delete o[r]:n.removeAttribute(`data-`+r.replace(ym,`-$&`).toLowerCase()));for(r in a)i[r]!==a[r]&&(o?o[r]=a[r]:n.setAttribute(`data-`+r.replace(ym,`-$&`).toLowerCase(),a[r]))}var Mse={create:bm,update:bm};function xm(e,t,n){if(typeof e==`function`)e.call(t,n,t);else if(typeof e==`object`)for(let r=0;r<e.length;r++)xm(e[r],t,n)}function Nse(e,t){let n=e.type,r=t.data.on;r&&r[n]&&xm(r[n],t,e)}function Sm(e,t){let n=e.data.on,r=e.listener,i=e.elm,a=t&&t.data.on,o=t&&t.elm,s;if(n!==a){if(n&&r)if(a)for(s in n)a[s]||i.removeEventListener(s,r,!1);else for(s in n)i.removeEventListener(s,r,!1);if(a){let r=t.listener=e.listener||function e(t){Nse(t,e.vnode)};if(r.vnode=t,n)for(s in a)n[s]||o.addEventListener(s,r,!1);else for(s in a)o.addEventListener(s,r,!1)}}}var Pse={create:Sm,update:Sm,destroy:Sm};function Cm(e,t){let n,r,i,a=t.elm,o=e.data.props,s=t.data.props;if((o||s)&&o!==s)for(n in o||={},s||={},s)r=s[n],i=o[n],i===r||n===`value`&&a[n]===r||(a[n]=r)}var wm={create:Cm,update:Cm},Tm=typeof window<`u`&&window.requestAnimationFrame.bind(window)||setTimeout,Em=!1;function Dm(e,t,n){(function(e){Tm((function(){Tm(e)}))})((function(){e[t]=n}))}function Om(e,t){let n,r,i=t.elm,a=e.data.style,o=t.data.style;if(!a&&!o||a===o)return;a||={},o||={};let s=`delayed`in a;for(r in a)o[r]||(r[0]===`-`&&r[1]===`-`?i.style.removeProperty(r):i.style[r]=``);for(r in o)if(n=o[r],r===`delayed`&&o.delayed)for(let e in o.delayed)n=o.delayed[e],s&&n===a.delayed[e]||Dm(i.style,e,n);else r!==`remove`&&n!==a[r]&&(r[0]===`-`&&r[1]===`-`?i.style.setProperty(r,n):i.style[r]=n)}var km={pre:function(){Em=!1},create:Om,update:Om,destroy:function(e){let t,n,r=e.elm,i=e.data.style;if(i&&(t=i.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){let n=e.data.style;if(!n||!n.remove)return void t();let r;Em||=(e.elm.offsetLeft,!0);let i=e.elm,a=0,o=n.remove,s=0,c=[];for(r in o)c.push(r),i.style[r]=o[r];let l=getComputedStyle(i)[`transition-property`].split(`, `);for(;a<l.length;++a)c.indexOf(l[a])!==-1&&s++;i.addEventListener(`transitionend`,(function(e){e.target===i&&--s,s===0&&t()}))}};function Am(e,t){for(let n of e)n!=null&&!1!==n&&n!==``&&(Array.isArray(n)?Am(n,t):typeof n==`string`||typeof n==`number`||typeof n==`boolean`?t.push(cm(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function V(e,t,...n){let r=Am(n,[]);return typeof e==`function`?e(t,r):r.length===1&&!r[0].sel&&r[0].text?gm(e,t,r[0].text):gm(e,t,r)}V||={};var jm=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Nm=`\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Pm=`[\\ud800-\\udfff]`,Fm=`[`+Nm+`]`,Im=`[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]`,Lm=`\\d+`,Rm=`[\\u2700-\\u27bf]`,zm=`[a-z\\xdf-\\xf6\\xf8-\\xff]`,Bm=`[^\\ud800-\\udfff`+Nm+Lm+`\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]`,Vm=`\\ud83c[\\udffb-\\udfff]`,Hm=`[^\\ud800-\\udfff]`,Um=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Wm=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Gm=`[A-Z\\xc0-\\xd6\\xd8-\\xde]`,Km=`(?:`+zm+`|`+Bm+`)`,qm=`(?:`+Gm+`|`+Bm+`)`,Jm=`(?:`+Im+`|`+Vm+`)?`,Ym=`[\\ufe0e\\ufe0f]?`+Jm+(`(?:\\u200d(?:`+[Hm,Um,Wm].join(`|`)+`)[\\ufe0e\\ufe0f]?`+Jm+`)*`),Xm=`(?:`+[Rm,Um,Wm].join(`|`)+`)`+Ym,Zm=`(?:`+[Hm+Im+`?`,Im,Um,Wm,Pm].join(`|`)+`)`,Qm=RegExp(`['’]`,`g`),$m=RegExp(Im,`g`),eh=RegExp(Vm+`(?=`+Vm+`)|`+Zm+Ym,`g`),th=RegExp([Gm+`?`+zm+`+(?:['’](?:d|ll|m|re|s|t|ve))?(?=`+[Fm,Gm,`$`].join(`|`)+`)`,qm+`+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=`+[Fm,Gm+Km,`$`].join(`|`)+`)`,Gm+`?`+Km+`+(?:['’](?:d|ll|m|re|s|t|ve))?`,Gm+`+(?:['’](?:D|LL|M|RE|S|T|VE))?`,Lm,Xm].join(`|`),`g`),nh=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]`),rh=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ih=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,ah=typeof self==`object`&&self&&self.Object===Object&&self,oh=ih||ah||Function(`return this`)(),sh,ch=(sh={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,IJ:`IJ`,ij:`ij`,Œ:`Oe`,œ:`oe`,ʼn:`'n`,ſ:`ss`},function(e){return sh?.[e]});function lh(e){return nh.test(e)}function uh(e){return lh(e)?function(e){return e.match(eh)||[]}(e):function(e){return e.split(``)}(e)}var dh=Object.prototype.toString,fh=oh.Symbol,ph=fh?fh.prototype:void 0,mh=ph?ph.toString:void 0;function hh(e){if(typeof e==`string`)return e;if(function(e){return typeof e==`symbol`||function(e){return!!e&&typeof e==`object`}(e)&&dh.call(e)==`[object Symbol]`}(e))return mh?mh.call(e):``;var t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function gh(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}(e,t,n)}function _h(e){return e==null?``:hh(e)}for(var vh,yh=(vh=function(e,t,n){return t=t.toLowerCase(),e+(n?xh(_h(t).toLowerCase()):t)},function(e){return function(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}(function(e,t,n){return e=_h(e),(t=n?void 0:t)===void 0?function(e){return rh.test(e)}(e)?function(e){return e.match(th)||[]}(e):function(e){return e.match(jm)||[]}(e):e.match(t)||[]}(function(e){return(e=_h(e))&&e.replace(Mm,ch).replace($m,``)}(e).replace(Qm,``)),vh,``)}),bh,xh=(bh=`toUpperCase`,function(e){var t=lh(e=_h(e))?uh(e):void 0,n=t?t[0]:e.charAt(0),r=t?gh(t,1).join(``):e.slice(1);return n[bh]()+r}),Sh=yh,Ch=typeof window<`u`&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),wh={alt:`altKey`,control:`ctrlKey`,meta:`metaKey`,shift:`shiftKey`},Th={add:`+`,break:`pause`,cmd:`meta`,command:`meta`,ctl:`control`,ctrl:`control`,del:`delete`,down:`arrowdown`,esc:`escape`,ins:`insert`,left:`arrowleft`,mod:Ch?`meta`:`control`,opt:`alt`,option:`alt`,return:`enter`,right:`arrowright`,space:` `,spacebar:` `,up:`arrowup`,win:`meta`,windows:`meta`},Eh={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},Dh=1;Dh<20;Dh++)Eh[`f`+Dh]=111+Dh;function Oh(e,t,n){t&&!(`byKey`in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map((function(e){return function(e,t){var n=t&&t.byKey,r={},i=(e=e.replace(`++`,`+add`)).split(`+`),a=i.length;for(var o in wh)r[wh[o]]=!1;var s=!0,c=!1,l=void 0;try{for(var u,d=i[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var f=u.value,p=f.endsWith(`?`)&&f.length>1;p&&(f=f.slice(0,-1));var m=Ah(f),h=wh[m];if(f.length>1&&!h&&!Th[f]&&!Eh[m])throw TypeError(`Unknown modifier: "`+f+`"`);a!==1&&h||(n?r.key=m:r.which=kh(f)),h&&(r[h]=!p||null)}}catch(e){c=!0,l=e}finally{try{!s&&d.return&&d.return()}finally{if(c)throw l}}return r}(e,t)})),i=function(e){return r.some((function(t){return function(e,t){for(var n in e){var r=e[n],i=void 0;if(r!=null&&((i=n===`key`&&t.key!=null?t.key.toLowerCase():n===`which`?r===91&&t.which===93?91:t.which:t[n])!=null||!1!==r)&&i!==r)return!1}return!0}(t,e)}))};return n==null?i:i(n)}function kh(e){return e=Ah(e),Eh[e]||e.toUpperCase().charCodeAt(0)}function Ah(e){return e=e.toLowerCase(),e=Th[e]||e}var jh=Oh,Mh=function(e,t){return Oh(e,{byKey:!0},t)},Nh=/^\s+|\s+$/g,Ph=/^[-+]0x[0-9a-f]+$/i,Fh=/^0b[01]+$/i,Ih=/^0o[0-7]+$/i,Lh=parseInt,Rh=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,zh=typeof self==`object`&&self&&self.Object===Object&&self,Bh=Rh||zh||Function(`return this`)(),Vh=Object.prototype.toString,Hh=Math.max,Uh=Math.min,Wh=function(){return Bh.Date.now()};function Gh(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function Kh(e){if(typeof e==`number`)return e;if(function(e){return typeof e==`symbol`||function(e){return!!e&&typeof e==`object`}(e)&&Vh.call(e)==`[object Symbol]`}(e))return NaN;if(Gh(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=Gh(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(Nh,``);var n=Fh.test(e);return n||Ih.test(e)?Lh(e.slice(2),n?2:8):Ph.test(e)?NaN:+e}var qh,Jh=function(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n)}function m(e){return l=e,s=setTimeout(g,t),u?p(e):o}function h(e){var n=e-c;return c===void 0||n>=t||n<0||d&&e-l>=a}function g(){var e=Wh();if(h(e))return _(e);s=setTimeout(g,function(e){var n=t-(e-c);return d?Uh(n,a-(e-l)):n}(e))}function _(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function v(){var e=Wh(),n=h(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return s=setTimeout(g,t),p(c)}return s===void 0&&(s=setTimeout(g,t)),o}return t=Kh(t)||0,Gh(n)&&(u=!!n.leading,a=(d=`maxWait`in n)?Hh(Kh(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f),v.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0},v.flush=function(){return s===void 0?o:_(Wh())},v},Yh=Lr((function(e,t){var n=`__lodash_hash_undefined__`,r=9007199254740991,i=`[object Arguments]`,a=`[object Boolean]`,o=`[object Date]`,s=`[object Function]`,c=`[object GeneratorFunction]`,l=`[object Map]`,u=`[object Number]`,d=`[object Object]`,f=`[object Promise]`,p=`[object RegExp]`,m=`[object Set]`,h=`[object String]`,g=`[object Symbol]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,w=`[object Int32Array]`,T=`[object Uint8Array]`,E=`[object Uint8ClampedArray]`,D=`[object Uint16Array]`,O=`[object Uint32Array]`,ee=/\w*$/,k=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,A={};A[i]=A[`[object Array]`]=A[v]=A[y]=A[a]=A[o]=A[b]=A[x]=A[S]=A[C]=A[w]=A[l]=A[u]=A[d]=A[p]=A[m]=A[h]=A[g]=A[T]=A[E]=A[D]=A[O]=!0,A[`[object Error]`]=A[s]=A[_]=!1;var ne=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,re=typeof self==`object`&&self&&self.Object===Object&&self,ie=ne||re||Function(`return this`)(),ae=t&&!t.nodeType&&t,oe=ae&&e&&!e.nodeType&&e,se=oe&&oe.exports===ae;function ce(e,t){return e.set(t[0],t[1]),e}function le(e,t){return e.add(t),e}function ue(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function de(e){var t=!1;if(e!=null&&typeof e.toString!=`function`)try{t=!!(e+``)}catch{}return t}function fe(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function pe(e,t){return function(n){return e(t(n))}}function me(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var he=Array.prototype,ge=Function.prototype,_e=Object.prototype,ve=ie[`__core-js_shared__`],ye=function(){var e=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),be=ge.toString,xe=_e.hasOwnProperty,Se=_e.toString,Ce=RegExp(`^`+be.call(xe).replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),we=se?ie.Buffer:void 0,Te=ie.Symbol,Ee=ie.Uint8Array,De=pe(Object.getPrototypeOf,Object),Oe=Object.create,ke=_e.propertyIsEnumerable,Ae=he.splice,je=Object.getOwnPropertySymbols,Me=we?we.isBuffer:void 0,Ne=pe(Object.keys,Object),Pe=it(ie,`DataView`),Fe=it(ie,`Map`),Ie=it(ie,`Promise`),Le=it(ie,`Set`),Re=it(ie,`WeakMap`),ze=it(Object,`create`),Be=lt(Pe),Ve=lt(Fe),He=lt(Ie),Ue=lt(Le),We=lt(Re),Ge=Te?Te.prototype:void 0,Ke=Ge?Ge.valueOf:void 0;function qe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Je(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ye(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xe(e){this.__data__=new Je(e)}function Ze(e,t){var n=dt(e)||function(e){return function(e){return function(e){return!!e&&typeof e==`object`}(e)&&ft(e)}(e)&&xe.call(e,`callee`)&&(!ke.call(e,`callee`)||Se.call(e)==i)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,a=!!r;for(var o in e)!t&&!xe.call(e,o)||a&&(o==`length`||st(o,r))||n.push(o);return n}function Qe(e,t,n){var r=e[t];xe.call(e,t)&&ut(r,n)&&(n!==void 0||t in e)||(e[t]=n)}function $e(e,t){for(var n=e.length;n--;)if(ut(e[n][0],t))return n;return-1}function et(e,t,n,r,f,_,k){var te;if(r&&(te=_?r(e,f,_,k):r(e)),te!==void 0)return te;if(!ht(e))return e;var ne=dt(e);if(ne){if(te=function(e){var t=e.length,n=e.constructor(t);return t&&typeof e[0]==`string`&&xe.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}(e),!t)return function(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}(e,te)}else{var re=ot(e),ie=re==s||re==c;if(pt(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(re==d||re==i||ie&&!_){if(de(e))return _?e:{};if(te=function(e){return typeof e.constructor!=`function`||ct(e)?{}:(t=De(e),ht(t)?Oe(t):{});var t}(ie?{}:e),!t)return function(e,t){return j(e,at(e),t)}(e,function(e,t){return e&&j(t,gt(t),e)}(te,e))}else{if(!A[re])return _?e:{};te=function(e,t,n,r){var i=e.constructor;switch(t){case v:return nt(e);case a:case o:return new i(+e);case y:return function(e,t){var n=t?nt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case b:case x:case S:case C:case w:case T:case E:case D:case O:return function(e,t){var n=t?nt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case l:return function(e,t,n){return ue(t?n(fe(e),!0):fe(e),ce,new e.constructor)}(e,r,n);case u:case h:return new i(e);case p:return function(e){var t=new e.constructor(e.source,ee.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,n){return ue(t?n(me(e),!0):me(e),le,new e.constructor)}(e,r,n);case g:return function(e){return Ke?Object(Ke.call(e)):{}}(e)}}(e,re,et,t)}}k||=new Xe;var ae=k.get(e);if(ae)return ae;if(k.set(e,te),!ne)var oe=n?function(e){return function(e,t,n){var r=t(e);return dt(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,gt,at)}(e):gt(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(oe||e,(function(i,a){oe&&(i=e[a=i]),Qe(te,a,et(i,t,n,r,a,e,k))})),te}function tt(e){return!(!ht(e)||function(e){return!!ye&&ye in e}(e))&&(mt(e)||de(e)?Ce:k).test(lt(e))}function nt(e){var t=new e.constructor(e.byteLength);return new Ee(t).set(new Ee(e)),t}function j(e,t,n,r){n||={};for(var i=-1,a=t.length;++i<a;){var o=t[i],s=r?r(n[o],e[o],o,n,e):void 0;Qe(n,o,s===void 0?e[o]:s)}return n}function rt(e,t){var n,r,i=e.__data__;return((r=typeof(n=t))==`string`||r==`number`||r==`symbol`||r==`boolean`?n!==`__proto__`:n===null)?i[typeof t==`string`?`string`:`hash`]:i.map}function it(e,t){var n=function(e,t){return e?.[t]}(e,t);return tt(n)?n:void 0}qe.prototype.clear=function(){this.__data__=ze?ze(null):{}},qe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},qe.prototype.get=function(e){var t=this.__data__;if(ze){var r=t[e];return r===n?void 0:r}return xe.call(t,e)?t[e]:void 0},qe.prototype.has=function(e){var t=this.__data__;return ze?t[e]!==void 0:xe.call(t,e)},qe.prototype.set=function(e,t){return this.__data__[e]=ze&&t===void 0?n:t,this},Je.prototype.clear=function(){this.__data__=[]},Je.prototype.delete=function(e){var t=this.__data__,n=$e(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ae.call(t,n,1),!0)},Je.prototype.get=function(e){var t=this.__data__,n=$e(t,e);return n<0?void 0:t[n][1]},Je.prototype.has=function(e){return $e(this.__data__,e)>-1},Je.prototype.set=function(e,t){var n=this.__data__,r=$e(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ye.prototype.clear=function(){this.__data__={hash:new qe,map:new(Fe||Je),string:new qe}},Ye.prototype.delete=function(e){return rt(this,e).delete(e)},Ye.prototype.get=function(e){return rt(this,e).get(e)},Ye.prototype.has=function(e){return rt(this,e).has(e)},Ye.prototype.set=function(e,t){return rt(this,e).set(e,t),this},Xe.prototype.clear=function(){this.__data__=new Je},Xe.prototype.delete=function(e){return this.__data__.delete(e)},Xe.prototype.get=function(e){return this.__data__.get(e)},Xe.prototype.has=function(e){return this.__data__.has(e)},Xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var r=n.__data__;if(!Fe||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ye(r)}return n.set(e,t),this};var at=je?pe(je,Object):function(){return[]},ot=function(e){return Se.call(e)};function st(e,t){return!!(t??=r)&&(typeof e==`number`||te.test(e))&&e>-1&&e%1==0&&e<t}function ct(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||_e)}function lt(e){if(e!=null){try{return be.call(e)}catch{}try{return e+``}catch{}}return``}function ut(e,t){return e===t||e!=e&&t!=t}(Pe&&ot(new Pe(new ArrayBuffer(1)))!=y||Fe&&ot(new Fe)!=l||Ie&&ot(Ie.resolve())!=f||Le&&ot(new Le)!=m||Re&&ot(new Re)!=_)&&(ot=function(e){var t=Se.call(e),n=t==d?e.constructor:void 0,r=n?lt(n):void 0;if(r)switch(r){case Be:return y;case Ve:return l;case He:return f;case Ue:return m;case We:return _}return t});var dt=Array.isArray;function ft(e){return e!=null&&function(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=r}(e.length)&&!mt(e)}var pt=Me||function(){return!1};function mt(e){var t=ht(e)?Se.call(e):``;return t==s||t==c}function ht(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function gt(e){return ft(e)?Ze(e):function(e){if(!ct(e))return Ne(e);var t=[];for(var n in Object(e))xe.call(e,n)&&n!=`constructor`&&t.push(n);return t}(e)}e.exports=function(e){return et(e,!0,!0)}}));function Xh(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var Zh=0;function Qh(e){return`__private_`+ Zh+++`_`+e}function $h(e,t,n){let r=[];return e.forEach((e=>typeof e==`string`?t[Symbol.split](e).forEach(((e,t,i)=>{e!==``&&r.push(e),t<i.length-1&&r.push(n)})):r.push(e))),r}function eg(e,t){let n=/\$/g,r=[e];if(t==null)return r;for(let e of Object.keys(t))if(e!==`_`){let i=t[e];typeof i==`string`&&(i=n[Symbol.replace](i,`$$$$`)),r=$h(r,RegExp(`%\\{${e}\\}`,`g`),i)}return r}var tg=(qh=Qh(`apply`),class{constructor(e){Object.defineProperty(this,qh,{value:ng}),this.locale={strings:{},pluralize:e=>e===1?0:1},Array.isArray(e)?e.forEach(Xh(this,qh)[qh],this):Xh(this,qh)[qh](e)}translate(e,t){return this.translateArray(e,t).join(``)}translateArray(e,t){if(!function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(this.locale.strings,e))throw Error(`missing string: ${e}`);let n=this.locale.strings[e];if(typeof n==`object`){if(t&&t.smart_count!==void 0)return eg(n[this.locale.pluralize(t.smart_count)],t);throw Error(`Attempted to use a string with plural forms, but no value was given for %{smart_count}`)}return eg(n,t)}});function ng(e){if(e==null||!e.strings)return;let t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var rg=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,i,a,o,s){var c=function(e){for(var n=t[e]?t[e]:[],r=e.indexOf(`:`),i=r===-1?[e]:[e.substring(0,r),e.substring(r+1)],a=Object.keys(t),o=0,s=a.length;o<s;o++){var c=a[o];if(c===`*`&&(n=n.concat(t[c])),i.length===2&&i[0]===c){n=n.concat(t[c]);break}}return n}(e);c.length&&function(e,t,n){for(var r=0,i=t.length;r<i&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,c,[n,r,i,a,o,s])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,(function r(){n.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],i=0,a=r?r.length:0;i<a;i++)r[i]!==t&&n.push(r[i]);n.length?this._fns[e]=n:delete this._fns[e]},e},{urlAlphabet:ig}={urlAlphabet:`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`},ag=e=>crypto.getRandomValues(new Uint8Array(e)),og=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return()=>{let a=``;for(;;){let o=n(i),s=i;for(;s--;)if(a+=e[o[s]&r]||``,a.length===t)return a}}},sg={nanoid:(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?`_`:`-`}return t},customAlphabet:(e,t)=>og(e,t,ag),customRandom:og,urlAlphabet:ig,random:ag},cg=function(e){if(typeof e!=`number`||isNaN(e))throw TypeError(`Expected a number, got `+typeof e);var t=e<0,n=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`];if(t&&(e=-e),e<1)return(t?`-`:``)+e+` B`;var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/1024**r);var i=n[r];return e>=10||e%1==0?(t?`-`:``)+e.toFixed(0)+` `+i:(t?`-`:``)+e.toFixed(1)+` `+i};function lg(e,t){this.text=e||=``,this.hasWild=~e.indexOf(`*`),this.separator=t,this.parts=e.split(t)}lg.prototype.match=function(e){var t,n,r=!0,i=this.parts,a=i.length;if(typeof e==`string`||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||``).split(this.separator),t=0;r&&t<a;t++)i[t]!==`*`&&(r=t<n.length&&i[t]===n[t]);r&&=n}else r=!1;else if(typeof e.splice==`function`)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if(typeof e==`object`)for(var o in r={},e)this.match(o)&&(r[o]=e[o]);return r};var ug=/[\/\+\.]/,dg=function(e,t){function n(t){var n=function(e,t,n){var r=new lg(e,n||/[\/\.]/);return t===void 0?r:r.match(t)}(t,e,ug);return n&&n.length>=2}return t?n(t.split(`;`)[0]):n},fg=0;function pg(e){return`__private_`+ fg+++`_`+e}var mg=pg(`publish`),hg=class{constructor(){Object.defineProperty(this,mg,{value:gg}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){let t={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}(this,mg)[mg](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}};function gg(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach((e=>{e(...t)}))}hg.VERSION=`2.0.3`;var _g=function(e){let t=e.lastIndexOf(`.`);return t===-1||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},vg={md:`text/markdown`,markdown:`text/markdown`,mp4:`video/mp4`,mp3:`audio/mp3`,svg:`image/svg+xml`,jpg:`image/jpeg`,png:`image/png`,gif:`image/gif`,heic:`image/heic`,heif:`image/heif`,yaml:`text/yaml`,yml:`text/yaml`,csv:`text/csv`,tsv:`text/tab-separated-values`,tab:`text/tab-separated-values`,avi:`video/x-msvideo`,mks:`video/x-matroska`,mkv:`video/x-matroska`,mov:`video/quicktime`,doc:`application/msword`,docm:`application/vnd.ms-word.document.macroenabled.12`,docx:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,dot:`application/msword`,dotm:`application/vnd.ms-word.template.macroenabled.12`,dotx:`application/vnd.openxmlformats-officedocument.wordprocessingml.template`,xla:`application/vnd.ms-excel`,xlam:`application/vnd.ms-excel.addin.macroenabled.12`,xlc:`application/vnd.ms-excel`,xlf:`application/x-xliff+xml`,xlm:`application/vnd.ms-excel`,xls:`application/vnd.ms-excel`,xlsb:`application/vnd.ms-excel.sheet.binary.macroenabled.12`,xlsm:`application/vnd.ms-excel.sheet.macroenabled.12`,xlsx:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,xlt:`application/vnd.ms-excel`,xltm:`application/vnd.ms-excel.template.macroenabled.12`,xltx:`application/vnd.openxmlformats-officedocument.spreadsheetml.template`,xlw:`application/vnd.ms-excel`,txt:`text/plain`,text:`text/plain`,conf:`text/plain`,log:`text/plain`,pdf:`application/pdf`,zip:`application/zip`,"7z":`application/x-7z-compressed`,rar:`application/x-rar-compressed`,tar:`application/x-tar`,gz:`application/gzip`,dmg:`application/x-apple-diskimage`};function yg(e){let t=``;return e.replace(/[^A-Z0-9]/gi,(e=>(t+=`-${function(e){return e.charCodeAt(0).toString(32)}(e)}`,`/`)))+t}var bg=function(e){if(e??=typeof navigator<`u`?navigator.userAgent:null,!e)return!0;let t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;let[n,r]=t[1].split(`.`);return n=parseInt(n,10),r=parseInt(r,10),n<15||n===15&&r<15063||n>18||n===18&&r>=18218};function xg(e){return e<10?`0${e}`:e.toString()}var Sg=function(){let e=new Date;return`${xg(e.getHours())}:${xg(e.getMinutes())}:${xg(e.getSeconds())}`},Cg={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Sg()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${Sg()}]`,...t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${Sg()}]`,...t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Sg()}]`,...t)}}},wg={strings:{addBulkFilesFailed:{0:`Failed to add %{smart_count} file due to an internal error`,1:`Failed to add %{smart_count} files due to internal errors`},youCanOnlyUploadX:{0:`You can only upload %{smart_count} file`,1:`You can only upload %{smart_count} files`},youHaveToAtLeastSelectX:{0:`You have to select at least %{smart_count} file`,1:`You have to select at least %{smart_count} files`},exceedsSize:`%{file} exceeds maximum allowed size of %{size}`,missingRequiredMetaField:`Missing required meta fields`,missingRequiredMetaFieldOnFile:`Missing required meta fields in %{fileName}`,inferiorSize:`This file is smaller than the allowed size of %{size}`,youCanOnlyUploadFileTypes:`You can only upload: %{types}`,noMoreFilesAllowed:`Cannot add more files`,noDuplicates:`Cannot add the duplicate file '%{fileName}', it already exists`,companionError:`Connection with Companion failed`,authAborted:`Authentication aborted`,companionUnauthorizeHint:`To unauthorize to your %{provider} account, please go to %{url}`,failedToUpload:`Failed to upload %{file}`,noInternetConnection:`No Internet connection`,connectedToInternet:`Connected to the Internet`,noFilesFound:`You have no files or folders here`,selectX:{0:`Select %{smart_count}`,1:`Select %{smart_count}`},allFilesFromFolderNamed:`All files from folder %{name}`,openFolderNamed:`Open folder %{name}`,cancel:`Cancel`,logOut:`Log out`,filter:`Filter`,resetFilter:`Reset filter`,loading:`Loading...`,authenticateWithTitle:`Please authenticate with %{pluginName} to select files`,authenticateWith:`Connect to %{pluginName}`,signInWithGoogle:`Sign in with Google`,searchImages:`Search for images`,enterTextToSearch:`Enter text to search for images`,backToSearch:`Back to Search`,emptyFolderAdded:`No files were added from empty folder`,folderAlreadyAdded:`The folder "%{folder}" was already added`,folderAdded:{0:`Added %{smart_count} file from %{folder}`,1:`Added %{smart_count} files from %{folder}`}}},Tg=sg,Eg,Dg;function H(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var Og=0;function kg(e){return`__private_`+ Og+++`_`+e}var{nanoid:Ag}=Tg,{justErrorsLogger:jg,debugLogger:Fse}=Cg,Mg=class extends Error{constructor(){super(...arguments),this.isRestriction=!0}};typeof AggregateError>`u`&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});var Ise=class extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}},Ng=kg(`plugins`),Pg=kg(`storeUnsubscribe`),Fg=kg(`emitter`),Ig=kg(`preProcessors`),Lg=kg(`uploaders`),Rg=kg(`postProcessors`),zg=kg(`checkRestrictions`),Bg=kg(`checkMinNumberOfFiles`),Vg=kg(`checkRequiredMetaFieldsOnFile`),Hg=kg(`checkRequiredMetaFields`),Ug=kg(`showOrLogErrorAndThrow`),Wg=kg(`assertNewUploadAllowed`),Gg=kg(`checkAndCreateFileStateObject`),Kg=kg(`startIfAutoProceed`),qg=kg(`addListeners`),Jg=kg(`updateOnlineStatus`),Yg=kg(`createUpload`),Xg=kg(`getUpload`),Zg=kg(`removeUpload`),Qg=kg(`runUpload`);Eg=Symbol.for(`uppy test: getPlugins`),Dg=Symbol.for(`uppy test: createUpload`);var $g=class{constructor(e){Object.defineProperty(this,Qg,{value:Yse}),Object.defineProperty(this,Zg,{value:Jse}),Object.defineProperty(this,Xg,{value:qse}),Object.defineProperty(this,Yg,{value:Kse}),Object.defineProperty(this,qg,{value:Gse}),Object.defineProperty(this,Kg,{value:Wse}),Object.defineProperty(this,Gg,{value:Use}),Object.defineProperty(this,Wg,{value:Hse}),Object.defineProperty(this,Ug,{value:Vse}),Object.defineProperty(this,Hg,{value:Bse}),Object.defineProperty(this,Vg,{value:zse}),Object.defineProperty(this,Bg,{value:Rse}),Object.defineProperty(this,zg,{value:Lse}),Object.defineProperty(this,Ng,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,Pg,{writable:!0,value:void 0}),Object.defineProperty(this,Fg,{writable:!0,value:rg()}),Object.defineProperty(this,Ig,{writable:!0,value:new Set}),Object.defineProperty(this,Lg,{writable:!0,value:new Set}),Object.defineProperty(this,Rg,{writable:!0,value:new Set}),Object.defineProperty(this,Jg,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=wg;let t={id:`uppy`,autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:new hg,logger:jg,infoTimeout:5e3};if(this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.",`warning`):e&&e.debug&&(this.opts.logger=Fse),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=sm(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:bg(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),H(this,Pg)[Pg]=this.store.subscribe(((e,t,n)=>{this.emit(`state-update`,e,t,n),this.updateAll(t)})),this.opts.debug&&typeof window<`u`&&(window[this.opts.id]=this),H(this,qg)[qg]()}emit(e){var t=[...arguments].slice(1);H(this,Fg)[Fg].emit(e,...t)}on(e,t){return H(this,Fg)[Fg].on(e,t),this}once(e,t){return H(this,Fg)[Fg].once(e,t),this}off(e,t){return H(this,Fg)[Fg].off(e,t),this}updateAll(e){this.iteratePlugins((t=>{t.update(e)}))}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){let e=new tg([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins((e=>{e.setOptions()})),this.setState()}resetProgress(){let e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach((r=>{let i={...t[r]};i.progress={...i.progress,...e},n[r]=i})),this.setState({files:n,totalProgress:0}),this.emit(`reset-progress`)}addPreProcessor(e){H(this,Ig)[Ig].add(e)}removePreProcessor(e){return H(this,Ig)[Ig].delete(e)}addPostProcessor(e){H(this,Rg)[Rg].add(e)}removePostProcessor(e){return H(this,Rg)[Rg].delete(e)}addUploader(e){H(this,Lg)[Lg].add(e)}removeUploader(e){return H(this,Lg)[Lg].delete(e)}setMeta(e){let t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach((t=>{n[t]={...n[t],meta:{...n[t].meta,...e}}})),this.log(`Adding metadata:`),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){let n={...this.getState().files};if(!n[e])return void this.log(`Was trying to set metadata for a file that has been removed: `,e);let r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){let{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){let{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),i=r.filter((e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted})),a=r.filter((e=>!e.progress.uploadStarted)),o=r.filter((e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess)),s=r.filter((e=>e.progress.uploadStarted)),c=r.filter((e=>e.isPaused)),l=r.filter((e=>e.progress.uploadComplete)),u=r.filter((e=>e.error)),d=i.filter((e=>!e.isPaused)),f=r.filter((e=>e.progress.preprocess||e.progress.postprocess));return{newFiles:a,startedFiles:o,uploadStartedFiles:s,pausedFiles:c,completeFiles:l,erroredFiles:u,inProgressFiles:i,inProgressNotPausedFiles:d,processingFiles:f,isUploadStarted:s.length>0,isAllComplete:t===100&&l.length===r.length&&f.length===0,isAllErrored:!!n&&u.length===r.length,isAllPaused:i.length!==0&&c.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:r.some((e=>e.isGhost))}}validateRestrictions(e,t){try{return H(this,zg)[zg](e,t),{result:!0}}catch(e){return{result:!1,reason:e.message}}}checkIfFileAlreadyExists(e){let{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){H(this,Wg)[Wg](e);let{files:t}=this.getState(),n=H(this,Gg)[Gg](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit(`file-added`,n),this.emit(`files-added`,[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),H(this,Kg)[Kg](),n.id}addFiles(e){H(this,Wg)[Wg]();let t={...this.getState().files},n=[],r=[];for(let i=0;i<e.length;i++)try{let r=H(this,Gg)[Gg](t,e[i]);t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e[i].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${r.name}, ${r.id}`)),t[r.id]=r,n.push(r)}catch(e){e.isRestriction||r.push(e)}if(this.setState({files:t}),n.forEach((e=>{this.emit(`file-added`,e)})),this.emit(`files-added`,n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach((e=>{this.log(`Added file: ${n[e].name}\n id: ${n[e].id}\n type: ${n[e].type}`)})),n.length>0&&H(this,Kg)[Kg](),r.length>0){let e=`Multiple errors occurred while adding files:
15
+ `;if(r.forEach((t=>{e+=`\n * ${t.message}`})),this.info({message:this.i18n(`addBulkFilesFailed`,{smart_count:r.length}),details:e},`error`,this.opts.infoTimeout),typeof AggregateError==`function`)throw AggregateError(r,e);{let t=Error(e);throw t.errors=r,t}}}removeFiles(e,t){let{files:n,currentUploads:r}=this.getState(),i={...n},a={...r},o=Object.create(null);function s(e){return o[e]===void 0}e.forEach((e=>{n[e]&&(o[e]=n[e],delete i[e])})),Object.keys(a).forEach((e=>{let t=r[e].fileIDs.filter(s);t.length===0?delete a[e]:a[e]={...r[e],fileIDs:t}}));let c={currentUploads:a,files:i};Object.keys(i).length===0&&(c.allowNewUpload=!0,c.error=null,c.recoveredState=null),this.setState(c),this.calculateTotalProgress();let l=Object.keys(o);l.forEach((e=>{this.emit(`file-removed`,o[e],t)})),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(`, `)}`)}removeFile(e,t){t===void 0&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;let t=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:t}),this.emit(`upload-pause`,e,t),t}pauseAll(){let e={...this.getState().files};Object.keys(e).filter((t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted)).forEach((t=>{e[t]={...e[t],isPaused:!0}})),this.setState({files:e}),this.emit(`pause-all`)}resumeAll(){let e={...this.getState().files};Object.keys(e).filter((t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted)).forEach((t=>{e[t]={...e[t],isPaused:!1,error:null}})),this.setState({files:e}),this.emit(`resume-all`)}retryAll(){let e={...this.getState().files},t=Object.keys(e).filter((t=>e[t].error));if(t.forEach((t=>{e[t]={...e[t],isPaused:!1,error:null}})),this.setState({files:e,error:null}),this.emit(`retry-all`,t),t.length===0)return Promise.resolve({successful:[],failed:[]});let n=H(this,Yg)[Yg](t,{forceAllowNewUpload:!0});return H(this,Qg)[Qg](n)}cancelAll(){this.emit(`cancel-all`);let{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,`cancel-all`),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit(`upload-retry`,e);let t=H(this,Yg)[Yg]([e],{forceAllowNewUpload:!0});return H(this,Qg)[Qg](t)}reset(){this.cancelAll()}logout(){this.iteratePlugins((e=>{e.provider&&e.provider.logout&&e.provider.logout()}))}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){let e=this.getFiles().filter((e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess));if(e.length===0)return this.emit(`progress`,0),void this.setState({totalProgress:0});let t=e.filter((e=>e.progress.bytesTotal!=null)),n=e.filter((e=>e.progress.bytesTotal==null));if(t.length===0){let t=100*e.length,r=n.reduce(((e,t)=>e+t.progress.percentage),0),i=Math.round(r/t*100);this.setState({totalProgress:i});return}let r=t.reduce(((e,t)=>e+t.progress.bytesTotal),0),i=r/t.length;r+=i*n.length;let a=0;t.forEach((e=>{a+=e.progress.bytesUploaded})),n.forEach((e=>{a+=i*(e.progress.percentage||0)/100}));let o=r===0?0:Math.round(a/r*100);o>100&&(o=100),this.setState({totalProgress:o}),this.emit(`progress`,o)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(this.emit(`is-online`),this.wasOffline&&=(this.emit(`back-online`),this.info(this.i18n(`connectedToInternet`),`success`,3e3),!1)):(this.emit(`is-offline`),this.info(this.i18n(`noInternetConnection`),`error`,0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if(typeof e!=`function`)throw TypeError(`Expected a plugin class, but got ${e===null?`null`:typeof e}. Please verify that the plugin was imported and spelled correctly.`);let n=new e(this,t),r=n.id;if(!r)throw Error(`Your plugin must have an id`);if(!n.type)throw Error(`Your plugin must have a type`);let i=this.getPlugin(r);if(i){let e=`Already found a plugin named '${i.id}'. Tried to use: '${r}'.\nUppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw Error(e)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in H(this,Ng)[Ng]?H(this,Ng)[Ng][n.type].push(n):H(this,Ng)[Ng][n.type]=[n],n.install(),this}getPlugin(e){for(let t of Object.values(H(this,Ng)[Ng])){let n=t.find((t=>t.id===e));if(n!=null)return n}}[Eg](e){return H(this,Ng)[Ng][e]}iteratePlugins(e){Object.values(H(this,Ng)[Ng]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit(`plugin-remove`,e),e.uninstall&&e.uninstall();let t=H(this,Ng)[Ng][e.type],n=t.findIndex((t=>t.id===e.id));n!==-1&&t.splice(n,1);let r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),H(this,Pg)[Pg](),this.iteratePlugins((e=>{this.removePlugin(e)})),typeof window<`u`&&window.removeEventListener&&(window.removeEventListener(`online`,H(this,Jg)[Jg]),window.removeEventListener(`offline`,H(this,Jg)[Jg]))}hideInfo(){let{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit(`info-hidden`)}info(e,t,n){t===void 0&&(t=`info`),n===void 0&&(n=3e3);let r=typeof e==`object`;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout((()=>this.hideInfo()),n),this.emit(`info-visible`)}log(e,t){let{logger:n}=this.opts;switch(t){case`error`:n.error(e);break;case`warning`:n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?H(this,Qg)[Qg](e):(H(this,Zg)[Zg](e),Promise.reject(Error(`Nonexistent upload`)))}[Dg](){return H(this,Yg)[Yg](...arguments)}addResultData(e,t){if(!H(this,Xg)[Xg](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);let{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}})}upload(){var e;(e=H(this,Ng)[Ng].uploader)!=null&&e.length||this.log(`No uploader type plugins are used`,`warning`);let{files:t}=this.getState(),n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(Error(`Not starting the upload because onBeforeUpload returned false`)):(n&&typeof n==`object`&&(t=n,this.setState({files:t})),Promise.resolve().then((()=>{H(this,Bg)[Bg](t),H(this,Hg)[Hg](t)})).catch((e=>{H(this,Ug)[Ug](e)})).then((()=>{let{currentUploads:e}=this.getState(),n=Object.values(e).flatMap((e=>e.fileIDs)),r=[];Object.keys(t).forEach((e=>{let t=this.getFile(e);t.progress.uploadStarted||n.indexOf(e)!==-1||r.push(t.id)}));let i=H(this,Yg)[Yg](r);return H(this,Qg)[Qg](i)})).catch((e=>{H(this,Ug)[Ug](e,{showInformer:!1})})))}};function Lse(e,t){t===void 0&&(t=this.getFiles());let{maxFileSize:n,minFileSize:r,maxTotalFileSize:i,maxNumberOfFiles:a,allowedFileTypes:o}=this.opts.restrictions;if(a&&t.length+1>a)throw new Mg(`${this.i18n(`youCanOnlyUploadX`,{smart_count:a})}`);if(o&&!o.some((t=>t.indexOf(`/`)>-1?!!e.type&&dg(e.type.replace(/;.*?$/,``),t):!(t[0]!==`.`||!e.extension)&&e.extension.toLowerCase()===t.substr(1).toLowerCase()))){let e=o.join(`, `);throw new Mg(this.i18n(`youCanOnlyUploadFileTypes`,{types:e}))}if(i&&e.size!=null){let n=0;if(n+=e.size,t.forEach((e=>{n+=e.size})),n>i)throw new Mg(this.i18n(`exceedsSize`,{size:cg(i),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new Mg(this.i18n(`exceedsSize`,{size:cg(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new Mg(this.i18n(`inferiorSize`,{size:cg(r)}))}function Rse(e){let{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new Mg(`${this.i18n(`youHaveToAtLeastSelectX`,{smart_count:t})}`)}function zse(e){let{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],i=[];for(let a=0;a<t.length;a++)if(!n.call(e.meta,t[a])||e.meta[t[a]]===``){let n=new Mg(`${this.i18n(`missingRequiredMetaFieldOnFile`,{fileName:e.name})}`);r.push(n),i.push(t[a]),H(this,Ug)[Ug](n,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:i}),r}function Bse(e){let t=Object.keys(e).flatMap((e=>{let t=this.getFile(e);return H(this,Vg)[Vg](t)}));if(t.length)throw new Ise(t,`${this.i18n(`missingRequiredMetaField`)}`)}function Vse(e,t){let{showInformer:n=!0,file:r=null,throwErr:i=!0}=t===void 0?{}:t,a=typeof e==`object`?e.message:e,o=typeof e==`object`&&e.details?e.details:``,s=a;if(o&&(s+=` ${o}`),e.isRestriction?(this.log(s),this.emit(`restriction-failed`,r,e)):this.log(s,`error`),n&&this.info({message:a,details:o},`error`,this.opts.infoTimeout),i)throw typeof e==`object`?e:Error(e)}function Hse(e){let{allowNewUpload:t}=this.getState();!1===t&&H(this,Ug)[Ug](new Mg(this.i18n(`noMoreFilesAllowed`)),{file:e})}function Use(e,t){let n=function(e){if(e.type)return e.type;let t=e.name?_g(e.name).extension?.toLowerCase():null;return t&&t in vg?vg[t]:`application/octet-stream`}(t),r=function(e,t){return t.name?t.name:e.split(`/`)[0]===`image`?`${e.split(`/`)[0]}.${e.split(`/`)[1]}`:`noname`}(n,t),i=_g(r).extension,a=!!t.isRemote,o=function(e){let t=`uppy`;return typeof e.name==`string`&&(t+=`-${yg(e.name.toLowerCase())}`),e.type!==void 0&&(t+=`-${e.type}`),e.meta&&typeof e.meta.relativePath==`string`&&(t+=`-${yg(e.meta.relativePath.toLowerCase())}`),e.data.size!==void 0&&(t+=`-${e.data.size}`),e.data.lastModified!==void 0&&(t+=`-${e.data.lastModified}`),t}({...t,type:n});if(this.checkIfFileAlreadyExists(o)){let e=new Mg(this.i18n(`noDuplicates`,{fileName:r}));H(this,Ug)[Ug](e,{file:t})}let s=t.meta||{};s.name=r,s.type=n;let c=Number.isFinite(t.data.size)?t.data.size:null,l={source:t.source||``,id:o,name:r,extension:i||``,meta:{...this.getState().meta,...s},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:c,uploadComplete:!1,uploadStarted:null},size:c,isRemote:a,remote:t.remote||``,preview:t.preview},u=this.opts.onBeforeFileAdded(l,e);!1===u?H(this,Ug)[Ug](new Mg(`Cannot add the file because onBeforeFileAdded returned false.`),{showInformer:!1,fileDescriptor:t}):typeof u==`object`&&u&&(l=u);try{let t=Object.keys(e).map((t=>e[t]));H(this,zg)[zg](l,t)}catch(e){H(this,Ug)[Ug](e,{file:l})}return l}function Wse(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout((()=>{this.scheduledAutoProceed=null,this.upload().catch((e=>{e.isRestriction||this.log(e.stack||e.message||e)}))}),4))}function Gse(){let e=(e,t,n)=>{let r=e.message||`Unknown error`;e.details&&(r+=` ${e.details}`),this.setState({error:r}),t!=null&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n})};this.on(`error`,e),this.on(`upload-error`,((t,n,r)=>{if(e(n,t,r),typeof n==`object`&&n.message){let e=Error(n.message);e.details=n.message,n.details&&(e.details+=` ${n.details}`),e.message=this.i18n(`failedToUpload`,{file:t.name}),H(this,Ug)[Ug](e,{throwErr:!1})}else H(this,Ug)[Ug](n,{throwErr:!1})})),this.on(`upload`,(()=>{this.setState({error:null})})),this.on(`upload-started`,(e=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)})),this.on(`upload-progress`,this.calculateProgress),this.on(`upload-success`,((e,t)=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:H(this,Rg)[Rg].size>0?{mode:`indeterminate`}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),e.size??this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress()})),this.on(`preprocess-progress`,((e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)})),this.on(`preprocess-complete`,(e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})})),this.on(`postprocess-progress`,((e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)})),this.on(`postprocess-complete`,(e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})})),this.on(`restored`,(()=>{this.calculateTotalProgress()})),this.on(`dashboard:file-edit-complete`,(e=>{e&&H(this,Vg)[Vg](e)})),typeof window<`u`&&window.addEventListener&&(window.addEventListener(`online`,H(this,Jg)[Jg]),window.addEventListener(`offline`,H(this,Jg)[Jg]),setTimeout(H(this,Jg)[Jg],3e3))}function Kse(e,t){t===void 0&&(t={});let{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:i}=this.getState();if(!r&&!n)throw Error(`Cannot create a new upload: already uploading.`);let a=Ag();return this.emit(`upload`,{id:a,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...i,[a]:{fileIDs:e,step:0,result:{}}}}),a}function qse(e){let{currentUploads:t}=this.getState();return t[e]}function Jse(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function Yse(e){let{currentUploads:t}=this.getState(),n=t[e],r=n.step||0,i=[...H(this,Ig)[Ig],...H(this,Lg)[Lg],...H(this,Rg)[Rg]];try{for(let a=r;a<i.length&&n;a++){let r=i[a],o={...n,step:a};this.setState({currentUploads:{...t,[e]:o}}),await r(o.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(t){throw this.emit(`error`,t),H(this,Zg)[Zg](e),t}if(n){n.fileIDs.forEach((e=>{let t=this.getFile(e);t&&t.progress.postprocess&&this.emit(`postprocess-complete`,t)}));let r=n.fileIDs.map((e=>this.getFile(e))),i=r.filter((e=>!e.error)),a=r.filter((e=>e.error));await this.addResultData(e,{successful:i,failed:a,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let a;return n&&(a=n.result,this.emit(`complete`,a),H(this,Zg)[Zg](e)),a??this.log(`Not setting result for an upload that has been removed: ${e}`),a}$g.VERSION=`2.1.3`;var e_=$g,Xse=Lr((function(e,t){var n,r,i,a,o,s,c,l,u={},d=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,r){var i,a,o,s={};for(o in t)o==`key`?i=t[o]:o==`ref`?a=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),typeof e==`function`&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return g(e,s,i,a,null)}function g(e,t,n,a,o){var s={type:e,props:t,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++i};return o==null&&r.vnode!=null&&r.vnode(s),s}function _(e){return e.children}function v(e,t){this.props=e,this.context=t}function y(e,t){if(t==null)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?y(e):null}function b(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return b(e)}}function x(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!S.__r++||c!==r.debounceRendering)&&((c=r.debounceRendering)||s)(S)}function S(){for(var e;S.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,i,a,o;e.__d&&(a=(i=(t=e).__v).__e,(o=t.__P)&&(n=[],(r=p({},i)).__v=i.__v+1,k(o,i,r,t.__n,o.ownerSVGElement!==void 0,i.__h==null?null:[a],n,a??y(i),i.__h),te(n,i),i.__e!=a&&b(i)))}))}function C(e,t,n,r,i,a,o,s,c,l){var f,p,m,h,v,b,x,S=r&&r.__k||d,C=S.length;for(n.__k=[],f=0;f<t.length;f++)if((h=n.__k[f]=(h=t[f])==null||typeof h==`boolean`?null:typeof h==`string`||typeof h==`number`||typeof h==`bigint`?g(null,h,null,null,h):Array.isArray(h)?g(_,{children:h},null,null,null):h.__b>0?g(h.type,h.props,h.key,null,h.__v):h)!=null){if(h.__=n,h.__b=n.__b+1,(m=S[f])===null||m&&h.key==m.key&&h.type===m.type)S[f]=void 0;else for(p=0;p<C;p++){if((m=S[p])&&h.key==m.key&&h.type===m.type){S[p]=void 0;break}m=null}k(e,h,m||=u,i,a,o,s,c,l),v=h.__e,(p=h.ref)&&m.ref!=p&&(x||=[],m.ref&&x.push(m.ref,null,h),x.push(p,h.__c||v,h)),v==null?c&&m.__e==c&&c.parentNode!=e&&(c=y(m)):(b??=v,typeof h.type==`function`&&h.__k===m.__k?h.__d=c=w(h,c,e):c=T(e,h,m,S,v,c),typeof n.type==`function`&&(n.__d=c))}for(n.__e=b,f=C;f--;)S[f]!=null&&(typeof n.type==`function`&&S[f].__e!=null&&S[f].__e==n.__d&&(n.__d=y(r,f+1)),re(S[f],S[f]));if(x)for(f=0;f<x.length;f++)ne(x[f],x[++f],x[++f])}function w(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t=typeof r.type==`function`?w(r,t,n):T(n,r,r,i,r.__e,t));return t}function T(e,t,n,r,i,a){var o,s,c;if(t.__d!==void 0)o=t.__d,t.__d=void 0;else if(n==null||i!=a||i.parentNode==null)e:if(a==null||a.parentNode!==e)e.appendChild(i),o=null;else{for(s=a,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==i)break e;e.insertBefore(i,a),o=a}return o===void 0?i.nextSibling:o}function E(e,t,n){t[0]===`-`?e.setProperty(t,n):e[t]=n==null?``:typeof n!=`number`||f.test(t)?n:n+`px`}function D(e,t,n,r,i){var a;e:if(t===`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||E(e.style,t,``);if(n)for(t in n)r&&n[t]===r[t]||E(e.style,t,n[t])}else if(t[0]===`o`&&t[1]===`n`)a=t!==(t=t.replace(/Capture$/,``)),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r||e.addEventListener(t,a?ee:O,a):e.removeEventListener(t,a?ee:O,a);else if(t!==`dangerouslySetInnerHTML`){if(i)t=t.replace(/xlink[H:h]/,`h`).replace(/sName$/,`s`);else if(t!==`href`&&t!==`list`&&t!==`form`&&t!==`tabIndex`&&t!==`download`&&t in e)try{e[t]=n??``;break e}catch{}typeof n==`function`||(n!=null&&(!1!==n||t[0]===`a`&&t[1]===`r`)?e.setAttribute(t,n):e.removeAttribute(t))}}function O(e){this.l[e.type+!1](r.event?r.event(e):e)}function ee(e){this.l[e.type+!0](r.event?r.event(e):e)}function k(e,t,n,i,a,o,s,c,l){var u,d,f,m,h,g,y,b,x,S,w,T=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,c=t.__e=n.__e,t.__h=null,o=[c]),(u=r.__b)&&u(t);try{e:if(typeof T==`function`){if(b=t.props,x=(u=T.contextType)&&i[u.__c],S=u?x?x.props.value:u.__:i,n.__c?y=(d=t.__c=n.__c).__=d.__E:(`prototype`in T&&T.prototype.render?t.__c=d=new T(b,S):(t.__c=d=new v(b,S),d.constructor=T,d.render=ie),x&&x.sub(d),d.props=b,d.state||={},d.context=S,d.__n=i,f=d.__d=!0,d.__h=[]),d.__s??=d.state,T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,T.getDerivedStateFromProps(b,d.__s))),m=d.props,h=d.state,f)T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(T.getDerivedStateFromProps==null&&b!==m&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(b,S),!d.__e&&d.shouldComponentUpdate!=null&&!1===d.shouldComponentUpdate(b,d.__s,S)||t.__v===n.__v){d.props=b,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&s.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(b,d.__s,S),d.componentDidUpdate!=null&&d.__h.push((function(){d.componentDidUpdate(m,h,g)}))}d.context=S,d.props=b,d.state=d.__s,(u=r.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,d.getChildContext!=null&&(i=p(p({},i),d.getChildContext())),f||d.getSnapshotBeforeUpdate==null||(g=d.getSnapshotBeforeUpdate(m,h)),w=u!=null&&u.type===_&&u.key==null?u.props.children:u,C(e,Array.isArray(w)?w:[w],t,n,i,a,o,s,c,l),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else o==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=A(n.__e,t,n,i,a,o,s,l);(u=r.diffed)&&u(t)}catch(e){t.__v=null,(l||o!=null)&&(t.__e=c,t.__h=!!l,o[o.indexOf(c)]=null),r.__e(e,t,n)}}function te(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function A(e,t,r,i,a,o,s,c){var l,d,f,p=r.props,h=t.props,g=t.type,_=0;if(g===`svg`&&(a=!0),o!=null){for(;_<o.length;_++)if((l=o[_])&&`setAttribute`in l==!!g&&(g?l.localName===g:l.nodeType===3)){e=l,o[_]=null;break}}if(e==null){if(g===null)return document.createTextNode(h);e=a?document.createElementNS(`http://www.w3.org/2000/svg`,g):document.createElement(g,h.is&&h),o=null,c=!1}if(g===null)p===h||c&&e.data===h||(e.data=h);else{if(o&&=n.call(e.childNodes),d=(p=r.props||u).dangerouslySetInnerHTML,f=h.dangerouslySetInnerHTML,!c){if(o!=null)for(p={},_=0;_<e.attributes.length;_++)p[e.attributes[_].name]=e.attributes[_].value;(f||d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||``))}if(function(e,t,n,r,i){for(var a in n)a===`children`||a===`key`||a in t||D(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!=`function`||a===`children`||a===`key`||a===`value`||a===`checked`||n[a]===t[a]||D(e,a,t[a],n[a],r)}(e,h,p,a,c),f)t.__k=[];else if(_=t.props.children,C(e,Array.isArray(_)?_:[_],t,r,i,a&&g!==`foreignObject`,o,s,o?o[0]:r.__k&&y(r,0),c),o!=null)for(_=o.length;_--;)o[_]!=null&&m(o[_]);c||(`value`in h&&(_=h.value)!==void 0&&(_!==p.value||_!==e.value||g===`progress`&&!_)&&D(e,`value`,_,p.value,!1),`checked`in h&&(_=h.checked)!==void 0&&_!==e.checked&&D(e,`checked`,_,p.checked,!1))}return e}function ne(e,t,n){try{typeof e==`function`?e(t):e.current=t}catch(e){r.__e(e,n)}}function re(e,t,n){var i,a;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||ne(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&re(i[a],t,typeof e.type!=`function`);n||e.__e==null||m(e.__e),e.__e=e.__d=void 0}function ie(e,t,n){return this.constructor(e,n)}function ae(e,t,i){var a,o,s;r.__&&r.__(e,t),o=(a=typeof i==`function`)?null:i&&i.__k||t.__k,s=[],k(t,e=(!a&&i||t).__k=h(_,null,[e]),o||u,u,t.ownerSVGElement!==void 0,!a&&i?[i]:o?null:t.firstChild?n.call(t.childNodes):null,s,!a&&i?i:o?o.__e:t.firstChild,a),te(s,e)}n=d.slice,r={__e:function(e,t){for(var n,r,i;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&r.getDerivedStateFromError!=null&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e),i=n.__d),i)return n.__E=n}catch(t){e=t}throw e}},i=0,a=function(e){return e!=null&&e.constructor===void 0},v.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=p({},this.state);typeof e==`function`&&(e=e(p({},n),this.props)),e&&p(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),x(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),x(this))},v.prototype.render=_,o=[],s=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,l=0,t.Component=v,t.Fragment=_,t.cloneElement=function(e,t,r){var i,a,o,s=p({},e.props);for(o in t)o==`key`?i=t[o]:o==`ref`?a=t[o]:s[o]=t[o];return arguments.length>2&&(s.children=arguments.length>3?n.call(arguments,2):r),g(e.type,s,i||e.key,a||e.ref,null)},t.createContext=function(e,t){var n={__c:t=`__cC`+ l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(x)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},t.createElement=h,t.createRef=function(){return{current:null}},t.h=h,t.hydrate=function e(t,n){ae(t,n,e)},t.isValidElement=a,t.options=r,t.render=ae,t.toChildArray=function e(t,n){return n||=[],t==null||typeof t==`boolean`||(Array.isArray(t)?t.some((function(t){e(t,n)})):n.push(t)),n}})),Zse=function(e,t){return t===void 0&&(t=document),typeof e==`string`?t.querySelector(e):(n=e)?.nodeType===Node.ELEMENT_NODE?e:null;var n},t_=class{constructor(e,t){t===void 0&&(t={}),this.uppy=e,this.opts=t}getPluginState(){let{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){let{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){let e=new tg([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw Error(`Extend the addTarget method to add your plugin to another plugin's target`)}install(){}uninstall(){}render(){throw Error(`Extend the render method to add your plugin to a DOM element`)}update(){}afterUpdate(){}};function n_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var Qse=0;function $se(e){return`__private_`+ Qse+++`_`+e}var{render:r_}=Xse,i_=$se(`updateUI`),ece=class e extends t_{constructor(){super(...arguments),Object.defineProperty(this,i_,{writable:!0,value:void 0})}mount(t,n){let r=n.id,i=Zse(t);if(i){this.isTargetDOMEl=!0;let e=document.createDocumentFragment();return n_(this,i_)[i_]=function(e){let t=null,n=null;return function(){return n=[...arguments],t||=Promise.resolve().then((()=>(t=null,e(...n)))),t}}((t=>{this.uppy.getPlugin(this.id)&&(r_(this.render(t),e),this.afterUpdate())})),this.uppy.log(`Installing ${r} to a DOM element '${t}'`),this.opts.replaceTargetContent&&(i.innerHTML=``),r_(this.render(this.uppy.getState()),e),this.el=e.firstElementChild,i.appendChild(e),this.onMount(),this.el}let a;if(typeof t==`object`&&t instanceof e)a=t;else if(typeof t==`function`){let e=t;this.uppy.iteratePlugins((t=>{if(t instanceof e)return a=t,!1}))}if(a)return this.uppy.log(`Installing ${r} to ${a.id}`),this.parent=a,this.el=a.addTarget(n),this.onMount(),this.el;this.uppy.log(`Not installing ${r}`);let o=`Invalid target option given to ${r}.`;throw o+=typeof t==`function`?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",Error(o)}update(e){var t,n;this.el!=null&&((t=(n=n_(this,i_))[i_])==null||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}},{debugLogger:tce}=Cg,a_=e_,nce=e_,rce=ece,ice=t_,ace=tce;a_.Uppy=nce,a_.UIPlugin=rce,a_.BasePlugin=ice,a_.debugLogger=ace;var o_=class extends Error{constructor(e,t){t===void 0&&(t=null),super(`This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.`),this.cause=e,this.isNetworkError=!0,this.request=t}},s_=function(){return fetch(...arguments).catch((e=>{throw e.name===`AbortError`?e:new o_(e)}))},oce=class extends Error{constructor(){super(`Authorization required`),this.name=`AuthError`,this.isAuthError=!0}},c_,l_,u_,d_,f_,sce=oce;function p_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var cce=0;function m_(e){return`__private_`+ cce+++`_`+e}async function h_(e){if(e.status===401)throw new sce;let t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{let e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n}finally{throw Error(n)}}return t}var g_=(l_=m_(`getPostResponseFunc`),u_=m_(`getUrl`),d_=m_(`errorHandler`),f_=c_=class e{constructor(e,t){Object.defineProperty(this,d_,{value:uce}),Object.defineProperty(this,u_,{value:lce}),Object.defineProperty(this,l_,{writable:!0,value:e=>t=>e?t:this.onReceiveResponse(t)}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=[`accept`,`content-type`,`uppy-auth-token`],this.preflightDone=!1}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,``)}headers(){let t=this.opts.companionHeaders||{};return Promise.resolve({...e.defaultHeaders,...t})}onReceiveResponse(e){let t=this.uppy.getState().companion||{},n=this.opts.companionUrl,{headers:r}=e;return r.has(`i-am`)&&r.get(`i-am`)!==t[n]&&this.uppy.setState({companion:{...t,[n]:r.get(`i-am`)}}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(p_(this,u_)[u_](e),{method:`OPTIONS`}).then((e=>(e.headers.has(`access-control-allow-headers`)&&(this.allowedHeaders=e.headers.get(`access-control-allow-headers`).split(`,`).map((e=>e.trim().toLowerCase()))),this.preflightDone=!0,this.allowedHeaders.slice()))).catch((e=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,`warning`),this.preflightDone=!0,this.allowedHeaders.slice())))}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then((e=>{let[t,n]=e;return Object.keys(n).forEach((e=>{t.includes(e.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${e}`),delete n[e])})),n}))}get(e,t){return this.preflightAndHeaders(e).then((t=>s_(p_(this,u_)[u_](e),{method:`get`,headers:t,credentials:this.opts.companionCookiesRule||`same-origin`}))).then(p_(this,l_)[l_](t)).then(h_).catch(p_(this,d_)[d_](`get`,e))}post(e,t,n){let r=`post`;return this.preflightAndHeaders(e).then((n=>s_(p_(this,u_)[u_](e),{method:r,headers:n,credentials:this.opts.companionCookiesRule||`same-origin`,body:JSON.stringify(t)}))).then(p_(this,l_)[l_](n)).then(h_).catch(p_(this,d_)[d_](r,e))}delete(e,t,n){let r=`delete`;return this.preflightAndHeaders(e).then((n=>s_(`${this.hostname}/${e}`,{method:r,headers:n,credentials:this.opts.companionCookiesRule||`same-origin`,body:t?JSON.stringify(t):null}))).then(p_(this,l_)[l_](n)).then(h_).catch(p_(this,d_)[d_](r,e))}},c_.VERSION=`2.0.4`,c_.defaultHeaders={Accept:`application/json`,"Content-Type":`application/json`,"Uppy-Versions":`@uppy/companion-client=${c_.VERSION}`},f_);function lce(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function uce(e,t){return n=>{var r;if((r=n)==null||!r.isAuthError){let r=Error(`Could not ${e} ${p_(this,u_)[u_](t)}`);r.cause=n,n=r}return Promise.reject(n)}}var dce={setItem:(e,t)=>new Promise((n=>{localStorage.setItem(e,t),n()})),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise((t=>{localStorage.removeItem(e),t()}))},__,v_,y_,b_,x_,S_,C_;function w_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var fce=0;function T_(e){return`__private_`+ fce+++`_`+e}var pce=(__=T_(`queued`),v_=T_(`emitter`),y_=T_(`isOpen`),b_=T_(`socket`),x_=T_(`handleMessage`),S_=Symbol.for(`uppy test: getSocket`),C_=Symbol.for(`uppy test: getQueued`),class{constructor(e){Object.defineProperty(this,__,{writable:!0,value:[]}),Object.defineProperty(this,v_,{writable:!0,value:rg()}),Object.defineProperty(this,y_,{writable:!0,value:!1}),Object.defineProperty(this,b_,{writable:!0,value:void 0}),Object.defineProperty(this,x_,{writable:!0,value:e=>{try{let t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return w_(this,y_)[y_]}[S_](){return w_(this,b_)[b_]}[C_](){return w_(this,__)[__]}open(){w_(this,b_)[b_]=new WebSocket(this.opts.target),w_(this,b_)[b_].onopen=()=>{for(w_(this,y_)[y_]=!0;w_(this,__)[__].length>0&&w_(this,y_)[y_];){let e=w_(this,__)[__].shift();this.send(e.action,e.payload)}},w_(this,b_)[b_].onclose=()=>{w_(this,y_)[y_]=!1},w_(this,b_)[b_].onmessage=w_(this,x_)[x_]}close(){var e;(e=w_(this,b_)[b_])==null||e.close()}send(e,t){w_(this,y_)[y_]?w_(this,b_)[b_].send(JSON.stringify({action:e,payload:t})):w_(this,__)[__].push({action:e,payload:t})}on(e,t){w_(this,v_)[v_].on(e,t)}emit(e,t){w_(this,v_)[v_].emit(e,t)}once(e,t){w_(this,v_)[v_].once(e,t)}}),mce={RequestClient:g_,Provider:class extends g_{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(e=>e.split(`-`).map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(` `))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then((e=>{let[t,n]=e,r={};return n&&(r[`uppy-auth-token`]=n),this.companionKeysParams&&(r[`uppy-credentials-params`]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r}}))}onReceiveResponse(e){e=super.onReceiveResponse(e);let t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?e.status!==401:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return e===void 0&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then((e=>{this.preAuthToken=e.token})).catch((e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,`warning`)})):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||``}`)}logout(){return this.get(`${this.id}/logout`).then((e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)]))).then((e=>{let[t]=e;return t}))}static initPlugin(e,t,n){if(e.type=`acquirer`,e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){let n=t.companionAllowedHosts;if(!(typeof n==`string`||Array.isArray(n)||n instanceof RegExp))throw TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n}else /^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,``)}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||dce}},SearchProvider:class extends g_{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(e=>e.split(`-`).map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(` `))(this.id),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:``,this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:pce},E_,D_,hce=sm((function(e,t,n){let{progress:r,bytesUploaded:i,bytesTotal:a}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit(`upload-progress`,n,{uploader:e,bytesUploaded:i,bytesTotal:a}))}),300,{leading:!0,trailing:!0});function O_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var gce=0;function k_(e){return`__private_`+ gce+++`_`+e}var A_=(E_=k_(`emitter`),D_=k_(`events`),class{constructor(e){Object.defineProperty(this,E_,{writable:!0,value:void 0}),Object.defineProperty(this,D_,{writable:!0,value:[]}),O_(this,E_)[E_]=e}on(e,t){return O_(this,D_)[D_].push([e,t]),O_(this,E_)[E_].on(e,t)}remove(){for(let[e,t]of O_(this,D_)[D_].splice(0))O_(this,E_)[E_].off(e,t)}});function j_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var _ce=0;function M_(e){return`__private_`+ _ce+++`_`+e}var N_=M_(`aliveTimer`),P_=M_(`isDone`),F_=M_(`onTimedOut`),I_=M_(`timeout`),L_=class{constructor(e,t){Object.defineProperty(this,N_,{writable:!0,value:void 0}),Object.defineProperty(this,P_,{writable:!0,value:!1}),Object.defineProperty(this,F_,{writable:!0,value:void 0}),Object.defineProperty(this,I_,{writable:!0,value:void 0}),j_(this,I_)[I_]=e,j_(this,F_)[F_]=t}progress(){j_(this,P_)[P_]||j_(this,I_)[I_]>0&&(clearTimeout(j_(this,N_)[N_]),j_(this,N_)[N_]=setTimeout(j_(this,F_)[F_],j_(this,I_)[I_]))}done(){j_(this,P_)[P_]||(clearTimeout(j_(this,N_)[N_]),j_(this,N_)[N_]=null,j_(this,P_)[P_]=!0)}};function R_(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var vce=0;function z_(e){return`__private_`+ vce+++`_`+e}function yce(){return Error(`Cancelled`)}var B_=z_(`activeRequests`),V_=z_(`queuedHandlers`),H_=z_(`call`),U_=z_(`queueNext`),W_=z_(`next`),G_=z_(`queue`),K_=z_(`dequeue`);function bce(e){R_(this,B_)[B_]+=1;let t,n=!1;try{t=e()}catch(e){throw--R_(this,B_)[B_],e}return{abort:()=>{n||(n=!0,--R_(this,B_)[B_],t(),R_(this,U_)[U_]())},done:()=>{n||(n=!0,--R_(this,B_)[B_],R_(this,U_)[U_]())}}}function xce(){queueMicrotask((()=>R_(this,W_)[W_]()))}function Sce(){if(R_(this,B_)[B_]>=this.limit||R_(this,V_)[V_].length===0)return;let e=R_(this,V_)[V_].shift(),t=R_(this,H_)[H_](e.fn);e.abort=t.abort,e.done=t.done}function Cce(e,t){t===void 0&&(t={});let n={fn:e,priority:t.priority||0,abort:()=>{R_(this,K_)[K_](n)},done:()=>{throw Error(`Cannot mark a queued request as done: this indicates a bug`)}},r=R_(this,V_)[V_].findIndex((e=>n.priority>e.priority));return r===-1?R_(this,V_)[V_].push(n):R_(this,V_)[V_].splice(r,0,n),n}function wce(e){let t=R_(this,V_)[V_].indexOf(e);t!==-1&&R_(this,V_)[V_].splice(t,1)}var Tce={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,K_,{value:wce}),Object.defineProperty(this,G_,{value:Cce}),Object.defineProperty(this,W_,{value:Sce}),Object.defineProperty(this,U_,{value:xce}),Object.defineProperty(this,H_,{value:bce}),Object.defineProperty(this,B_,{writable:!0,value:0}),Object.defineProperty(this,V_,{writable:!0,value:[]}),this.limit=typeof e!=`number`||e===0?1/0:e}run(e,t){return R_(this,B_)[B_]<this.limit?R_(this,H_)[H_](e):R_(this,G_)[G_](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){var r=[...arguments];let i,a=new Promise(((a,o)=>{i=n.run((()=>{let t,n;try{n=Promise.resolve(e(...r))}catch(e){n=Promise.reject(e)}return n.then((e=>{t?o(t):(i.done(),a(e))}),(e=>{t?o(t):(i.done(),o(e))})),()=>{t=yce()}}),t)}));return a.abort=()=>{i.abort()},a}}},internalRateLimitedQueue:Symbol(`__queue`)},q_,J_,Y_=function(e){return!!e&&(e.readyState!==0&&e.readyState!==4||e.status===0)},Ece={strings:{timedOut:`Upload stalled for %{seconds} seconds, aborting.`}},{nanoid:Dce}=Tg,{Provider:Oce,RequestClient:kce,Socket:Ace}=mce,{RateLimitedQueue:jce,internalRateLimitedQueue:X_}=Tce;function Z_(e,t){let n=t;return n||=Error(`Upload error`),typeof n==`string`&&(n=Error(n)),n instanceof Error||(n=Object.assign(Error(`Upload error`),{data:n})),Y_(e)?(n=new o_(n,e),n):(n.request=e,n)}function Q_(e){return e.data.slice(0,e.data.size,e.meta.type)}var Mce=(J_=q_=class extends t_{constructor(e,t){if(super(e,t),this.type=`uploader`,this.id=this.opts.id||`XHRUpload`,this.title=`XHRUpload`,this.defaultLocale=Ece,this.opts={formData:!0,fieldName:t.bundle?`files[]`:`file`,method:`post`,metaFields:null,responseUrlFieldName:`url`,bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:``,getResponseData(t){let n={};try{n=JSON.parse(t)}catch(t){e.log(t)}return n},getResponseError(e,t){let n=Error(`Upload error`);return Y_(t)&&(n=new o_(n,t)),n},validateStatus:e=>e>=200&&e<300,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),X_ in this.opts?this.requests=this.opts[X_]:this.requests=new jce(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){let t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return typeof n==`function`?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach((n=>{e.append(n,t[n])}))}createFormDataUpload(e,t){let n=new FormData;this.addMetadata(n,e.meta,t);let r=Q_(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){let n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach((e=>{let t=this.getOptions(e),r=Q_(e);e.name?n.append(t.fieldName,r,e.name):n.append(t.fieldName,r)})),n}upload(e,t,n){let r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise(((t,n)=>{this.uppy.emit(`upload-started`,e);let i=r.formData?this.createFormDataUpload(e,r):e.data,a=new XMLHttpRequest;this.uploaderEvents[e.id]=new A_(this.uppy);let o=new L_(r.timeout,(()=>{a.abort(),c.done();let t=Error(this.i18n(`timedOut`,{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit(`upload-error`,e,t),n(t)})),s=Dce();a.upload.addEventListener(`loadstart`,(()=>{this.uppy.log(`[XHRUpload] ${s} started`)})),a.upload.addEventListener(`progress`,(t=>{this.uppy.log(`[XHRUpload] ${s} progress: ${t.loaded} / ${t.total}`),o.progress(),t.lengthComputable&&this.uppy.emit(`upload-progress`,e,{uploader:this,bytesUploaded:t.loaded,bytesTotal:t.total})})),a.addEventListener(`load`,(i=>{if(this.uppy.log(`[XHRUpload] ${s} finished`),o.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(i.target.status,a.responseText,a)){let n=r.getResponseData(a.responseText,a),o=n[r.responseUrlFieldName],s={status:i.target.status,body:n,uploadURL:o};return this.uppy.emit(`upload-success`,e,s),o&&this.uppy.log(`Download ${e.name} from ${o}`),t(e)}let l=r.getResponseData(a.responseText,a),u=Z_(a,r.getResponseError(a.responseText,a)),d={status:i.target.status,body:l};return this.uppy.emit(`upload-error`,e,u,d),n(u)})),a.addEventListener(`error`,(()=>{this.uppy.log(`[XHRUpload] ${s} errored`),o.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);let t=Z_(a,r.getResponseError(a.responseText,a));return this.uppy.emit(`upload-error`,e,t),n(t)})),a.open(r.method.toUpperCase(),r.endpoint,!0),a.withCredentials=r.withCredentials,r.responseType!==``&&(a.responseType=r.responseType);let c=this.requests.run((()=>{this.uppy.emit(`upload-started`,e);let t=this.getOptions(e);return Object.keys(t.headers).forEach((e=>{a.setRequestHeader(e,t.headers[e])})),a.send(i),()=>{o.done(),a.abort()}}));this.onFileRemove(e.id,(()=>{c.abort(),n(Error(`File removed`))})),this.onCancelAll(e.id,(()=>{c.abort(),n(Error(`Upload cancelled`))}))}))}uploadRemote(e){let t=this.getOptions(e);return new Promise(((n,r)=>{this.uppy.emit(`upload-started`,e);let i={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach((t=>{i[t]=e.meta[t]})),new(e.remote.providerOptions.provider?Oce:kce)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:i,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then((i=>{let{token:a}=i,o=new Ace({target:`${function(e){let t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1];return`${/^http:\/\//i.test(e)?`ws`:`wss`}://${t}`}(e.remote.companionUrl)}/api/${a}`,autoOpen:!1});this.uploaderEvents[e.id]=new A_(this.uppy),this.onFileRemove(e.id,(()=>{o.send(`cancel`,{}),s.abort(),n(`upload ${e.id} was removed`)})),this.onCancelAll(e.id,(()=>{o.send(`cancel`,{}),s.abort(),n(`upload ${e.id} was canceled`)})),this.onRetry(e.id,(()=>{o.send(`pause`,{}),o.send(`resume`,{})})),this.onRetryAll(e.id,(()=>{o.send(`pause`,{}),o.send(`resume`,{})})),o.on(`progress`,(t=>hce(this,t,e))),o.on(`success`,(r=>{let i=t.getResponseData(r.response.responseText,r.response),a=i[t.responseUrlFieldName],o={status:r.response.status,body:i,uploadURL:a};return this.uppy.emit(`upload-success`,e,o),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()})),o.on(`error`,(n=>{let i=n.response,a=i?t.getResponseError(i.responseText,i):Object.assign(Error(n.error.message),{cause:n.error});this.uppy.emit(`upload-error`,e,a),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(a)}));let s=this.requests.run((()=>(o.open(),e.isPaused&&o.send(`pause`,{}),()=>o.close())))})).catch((t=>{this.uppy.emit(`upload-error`,e,t),r(t)}))}))}uploadBundle(e){return new Promise(((t,n)=>{let{endpoint:r}=this.opts,{method:i}=this.opts,a=this.uppy.getState().xhrUpload,o=this.createBundledUpload(e,{...this.opts,...a||{}}),s=new XMLHttpRequest,c=new L_(this.opts.timeout,(()=>{s.abort();let e=Error(this.i18n(`timedOut`,{seconds:Math.ceil(this.opts.timeout/1e3)}));l(e),n(e)})),l=t=>{e.forEach((e=>{this.uppy.emit(`upload-error`,e,t)}))};s.upload.addEventListener(`loadstart`,(()=>{this.uppy.log(`[XHRUpload] started uploading bundle`),c.progress()})),s.upload.addEventListener(`progress`,(t=>{c.progress(),t.lengthComputable&&e.forEach((e=>{this.uppy.emit(`upload-progress`,e,{uploader:this,bytesUploaded:t.loaded/t.total*e.size,bytesTotal:e.size})}))})),s.addEventListener(`load`,(r=>{if(c.done(),this.opts.validateStatus(r.target.status,s.responseText,s)){let n=this.opts.getResponseData(s.responseText,s),i={status:r.target.status,body:n};return e.forEach((e=>{this.uppy.emit(`upload-success`,e,i)})),t()}let i=this.opts.getResponseError(s.responseText,s)||Error(`Upload error`);return i.request=s,l(i),n(i)})),s.addEventListener(`error`,(()=>{c.done();let e=this.opts.getResponseError(s.responseText,s)||Error(`Upload error`);return l(e),n(e)})),this.uppy.on(`cancel-all`,(()=>{c.done(),s.abort()})),s.open(i.toUpperCase(),r,!0),s.withCredentials=this.opts.withCredentials,this.opts.responseType!==``&&(s.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach((e=>{s.setRequestHeader(e,this.opts.headers[e])})),s.send(o),e.forEach((e=>{this.uppy.emit(`upload-started`,e)}))}))}uploadFiles(e){return function(e){let t=[],n=[];function r(e){t.push(e)}function i(e){n.push(e)}return Promise.all(e.map((e=>e.then(r,i)))).then((()=>({successful:t,failed:n})))}(e.map(((t,n)=>{let r=parseInt(n,10)+1,i=e.length;return t.error?Promise.reject(Error(t.error)):t.isRemote?this.uploadRemote(t,r,i):this.upload(t,r,i)})))}onFileRemove(e,t){this.uploaderEvents[e].on(`file-removed`,(n=>{e===n.id&&t(n.id)}))}onRetry(e,t){this.uploaderEvents[e].on(`upload-retry`,(n=>{e===n&&t()}))}onRetryAll(e,t){this.uploaderEvents[e].on(`retry-all`,(()=>{this.uppy.getFile(e)&&t()}))}onCancelAll(e,t){this.uploaderEvents[e].on(`cancel-all`,(()=>{this.uppy.getFile(e)&&t()}))}handleUpload(e){if(e.length===0)return this.uppy.log(`[XHRUpload] No files to upload!`),Promise.resolve();this.opts.limit!==0||this.opts[X_]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0",`warning`),this.uppy.log(`[XHRUpload] Uploading...`);let t=e.map((e=>this.uppy.getFile(e)));if(this.opts.bundle){if(t.some((e=>e.isRemote)))throw Error("Can’t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers==`function`)throw TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then((()=>null))}install(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},q_.VERSION=`2.0.6`,J_),$_=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function ev(e){var t={exports:{}};return e(t,t.exports),t.exports}var tv,nv,rv=function(e){return e&&e.Math==Math&&e},U=rv(typeof globalThis==`object`&&globalThis)||rv(typeof window==`object`&&window)||rv(typeof self==`object`&&self)||rv(typeof $_==`object`&&$_)||function(){return this}()||Function(`return this`)(),Nce=Object.defineProperty,iv=function(e,t){try{Nce(U,e,{value:t,configurable:!0,writable:!0})}catch{U[e]=t}return t},av=U[`__core-js_shared__`]||iv(`__core-js_shared__`,{}),ov=ev((function(e){(e.exports=function(e,t){return av[e]||(av[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),sv=Function.prototype,cv=sv.bind,lv=sv.call,Pce=cv&&cv.bind(lv),W=cv?function(e){return e&&Pce(lv,e)}:function(e){return e&&function(){return lv.apply(e,arguments)}},Fce=U.TypeError,uv=function(e){if(e==null)throw Fce(`Can't call method on `+e);return e},Ice=U.Object,dv=function(e){return Ice(uv(e))},Lce=W({}.hasOwnProperty),fv=Object.hasOwn||function(e,t){return Lce(dv(e),t)},Rce=0,zce=Math.random(),Bce=W(1 .toString),pv=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+Bce(++Rce+zce,36)},mv=function(e){return typeof e==`function`},Vce=function(e){return mv(e)?e:void 0},hv=function(e,t){return arguments.length<2?Vce(U[e]):U[e]&&U[e][t]},gv=hv(`navigator`,`userAgent`)||``,_v=U.process,vv=U.Deno,yv=_v&&_v.versions||vv&&vv.version,bv=yv&&yv.v8;bv&&(nv=(tv=bv.split(`.`))[0]>0&&tv[0]<4?1:+(tv[0]+tv[1])),!nv&&gv&&(!(tv=gv.match(/Edge\/(\d+)/))||tv[1]>=74)&&(tv=gv.match(/Chrome\/(\d+)/))&&(nv=+tv[1]);var xv=nv,Sv=function(e){try{return!!e()}catch{return!0}},Cv=!!Object.getOwnPropertySymbols&&!Sv((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xv&&xv<41})),wv=Cv&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,Tv=ov(`wks`),Ev=U.Symbol,Dv=Ev&&Ev.for,Hce=wv?Ev:Ev&&Ev.withoutSetter||pv,Ov=function(e){if(!fv(Tv,e)||!Cv&&typeof Tv[e]!=`string`){var t=`Symbol.`+e;Cv&&fv(Ev,e)?Tv[e]=Ev[e]:Tv[e]=wv&&Dv?Dv(t):Hce(t)}return Tv[e]},kv={};kv[Ov(`toStringTag`)]=`z`;var Av=String(kv)===`[object z]`,jv=!Sv((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),Mv=function(e){return typeof e==`object`?e!==null:mv(e)},Nv=U.document,Uce=Mv(Nv)&&Mv(Nv.createElement),Pv=function(e){return Uce?Nv.createElement(e):{}},Fv=!jv&&!Sv((function(){return Object.defineProperty(Pv(`div`),`a`,{get:function(){return 7}}).a!=7})),Wce=U.String,Gce=U.TypeError,Iv=function(e){if(Mv(e))return e;throw Gce(Wce(e)+` is not an object`)},Lv=Function.prototype.call,Rv=Lv.bind?Lv.bind(Lv):function(){return Lv.apply(Lv,arguments)},zv=W({}.isPrototypeOf),Kce=U.Object,Bv=wv?function(e){return typeof e==`symbol`}:function(e){var t=hv(`Symbol`);return mv(t)&&zv(t.prototype,Kce(e))},qce=U.String,Vv=function(e){try{return qce(e)}catch{return`Object`}},Jce=U.TypeError,Hv=function(e){if(mv(e))return e;throw Jce(Vv(e)+` is not a function`)},Uv=function(e,t){var n=e[t];return n==null?void 0:Hv(n)},Yce=U.TypeError,Xce=U.TypeError,Zce=Ov(`toPrimitive`),Wv=function(e){var t=function(e,t){if(!Mv(e)||Bv(e))return e;var n,r=Uv(e,Zce);if(r){if(t===void 0&&(t=`default`),n=Rv(r,e,t),!Mv(n)||Bv(n))return n;throw Xce(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&mv(n=e.toString)&&!Mv(r=Rv(n,e))||mv(n=e.valueOf)&&!Mv(r=Rv(n,e))||t!==`string`&&mv(n=e.toString)&&!Mv(r=Rv(n,e)))return r;throw Yce(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return Bv(t)?t:t+``},Qce=U.TypeError,Gv=Object.defineProperty,Kv={f:jv?Gv:function(e,t,n){if(Iv(e),t=Wv(t),Iv(n),Fv)try{return Gv(e,t,n)}catch{}if(`get`in n||`set`in n)throw Qce(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},qv=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Jv=jv?function(e,t,n){return Kv.f(e,t,qv(1,n))}:function(e,t,n){return e[t]=n,e},$ce=W(Function.toString);mv(av.inspectSource)||(av.inspectSource=function(e){return $ce(e)});var Yv,Xv,Zv,Qv=av.inspectSource,$v=U.WeakMap,ey=mv($v)&&/native code/.test(Qv($v)),ty=ov(`keys`),ny=function(e){return ty[e]||(ty[e]=pv(e))},ry={},iy=U.TypeError,ele=U.WeakMap;if(ey||av.state){var ay=av.state||=new ele,tle=W(ay.get),oy=W(ay.has),nle=W(ay.set);Yv=function(e,t){if(oy(ay,e))throw new iy(`Object already initialized`);return t.facade=e,nle(ay,e,t),t},Xv=function(e){return tle(ay,e)||{}},Zv=function(e){return oy(ay,e)}}else{var sy=ny(`state`);ry[sy]=!0,Yv=function(e,t){if(fv(e,sy))throw new iy(`Object already initialized`);return t.facade=e,Jv(e,sy,t),t},Xv=function(e){return fv(e,sy)?e[sy]:{}},Zv=function(e){return fv(e,sy)}}var cy={set:Yv,get:Xv,has:Zv,enforce:function(e){return Zv(e)?Xv(e):Yv(e,{})},getterFor:function(e){return function(t){var n;if(!Mv(t)||(n=Xv(t)).type!==e)throw iy(`Incompatible receiver, `+e+` required`);return n}}},ly=Function.prototype,rle=jv&&Object.getOwnPropertyDescriptor,uy=fv(ly,`name`),dy={EXISTS:uy,PROPER:uy&&function(){}.name===`something`,CONFIGURABLE:uy&&(!jv||jv&&rle(ly,`name`).configurable)},fy=ev((function(e){var t=dy.CONFIGURABLE,n=cy.get,r=cy.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;mv(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!fv(a,`name`)||t&&a.name!==d)&&Jv(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===U?l?e[n]=a:iv(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:Jv(e,n,a))})(Function.prototype,`toString`,(function(){return mv(this)&&n(this).source||Qv(this)}))})),ile=W({}.toString),ale=W(``.slice),py=function(e){return ale(ile(e),8,-1)},ole=Ov(`toStringTag`),sle=U.Object,cle=py(function(){return arguments}())==`Arguments`,my=Av?py:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=sle(e),ole))==`string`?n:cle?py(t):(r=py(t))==`Object`&&mv(t.callee)?`Arguments`:r},lle=Av?{}.toString:function(){return`[object `+my(this)+`]`};Av||fy(Object.prototype,`toString`,lle,{unsafe:!0});var hy={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gy=Pv(`span`).classList,_y=gy&&gy.constructor&&gy.constructor.prototype,vy=_y===Object.prototype?void 0:_y,yy=W(W.bind),by=function(e,t){return Hv(e),t===void 0?e:yy?yy(e,t):function(){return e.apply(t,arguments)}},xy=U.Object,ule=W(``.split),Sy=Sv((function(){return!xy(`z`).propertyIsEnumerable(0)}))?function(e){return py(e)==`String`?ule(e,``):xy(e)}:xy,dle=Math.ceil,fle=Math.floor,Cy=function(e){var t=+e;return t!=t||t===0?0:(t>0?fle:dle)(t)},ple=Math.min,wy=function(e){return e>0?ple(Cy(e),9007199254740991):0},Ty=function(e){return wy(e.length)},Ey=Array.isArray||function(e){return py(e)==`Array`},Dy=function(){},mle=[],Oy=hv(`Reflect`,`construct`),ky=/^\s*(?:class|function)\b/,hle=W(ky.exec),gle=!ky.exec(Dy),Ay=function(e){if(!mv(e))return!1;try{return Oy(Dy,mle,e),!0}catch{return!1}},jy=!Oy||Sv((function(){var e;return Ay(Ay.call)||!Ay(Object)||!Ay((function(){e=!0}))||e}))?function(e){if(!mv(e))return!1;switch(my(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return gle||!!hle(ky,Qv(e))}:Ay,_le=Ov(`species`),My=U.Array,Ny=function(e,t){return new(function(e){var t;return Ey(e)&&(t=e.constructor,(jy(t)&&(t===My||Ey(t.prototype))||Mv(t)&&(t=t[_le])===null)&&(t=void 0)),t===void 0?My:t}(e))(t===0?0:t)},Py=W([].push),Fy=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=dv(c),h=Sy(m),g=by(l,u),_=Ty(h),v=0,y=d||Ny,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Py(b,f)}else switch(e){case 4:return!1;case 7:Py(b,f)}return a?-1:r||i?i:b}},Iy={forEach:Fy(0),map:Fy(1),filter:Fy(2),some:Fy(3),every:Fy(4),find:Fy(5),findIndex:Fy(6),filterReject:Fy(7)},Ly=function(e,t){var n=[][e];return!!n&&Sv((function(){n.call(null,t||function(){throw 1},1)}))},vle=Iy.forEach,Ry=Ly(`forEach`)?[].forEach:function(e){return vle(this,e,arguments.length>1?arguments[1]:void 0)},zy=function(e){if(e&&e.forEach!==Ry)try{Jv(e,`forEach`,Ry)}catch{e.forEach=Ry}};for(var By in hy)hy[By]&&zy(U[By]&&U[By].prototype);zy(vy);var Vy={}.propertyIsEnumerable,Hy=Object.getOwnPropertyDescriptor,Uy={f:Hy&&!Vy.call({1:2},1)?function(e){var t=Hy(this,e);return!!t&&t.enumerable}:Vy},Wy=function(e){return Sy(uv(e))},Gy=Object.getOwnPropertyDescriptor,Ky={f:jv?Gy:function(e,t){if(e=Wy(e),t=Wv(t),Fv)try{return Gy(e,t)}catch{}if(fv(e,t))return qv(!Rv(Uy.f,e,t),e[t])}},yle=Math.max,ble=Math.min,qy=function(e,t){var n=Cy(e);return n<0?yle(n+t,0):ble(n,t)},Jy=function(e){return function(t,n,r){var i,a=Wy(t),o=Ty(a),s=qy(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Yy={includes:Jy(!0),indexOf:Jy(!1)},xle=Yy.indexOf,Xy=W([].push),Zy=function(e,t){var n,r=Wy(e),i=0,a=[];for(n in r)!fv(ry,n)&&fv(r,n)&&Xy(a,n);for(;t.length>i;)fv(r,n=t[i++])&&(~xle(a,n)||Xy(a,n));return a},Qy=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],Sle=Qy.concat(`length`,`prototype`),$y={f:Object.getOwnPropertyNames||function(e){return Zy(e,Sle)}},eb={f:Object.getOwnPropertySymbols},Cle=W([].concat),wle=hv(`Reflect`,`ownKeys`)||function(e){var t=$y.f(Iv(e)),n=eb.f;return n?Cle(t,n(e)):t},Tle=function(e,t){for(var n=wle(t),r=Kv.f,i=Ky.f,a=0;a<n.length;a++){var o=n[a];fv(e,o)||r(e,o,i(t,o))}},Ele=/#|\.prototype\./,tb=function(e,t){var n=Ole[Dle(e)];return n==Ale||n!=kle&&(mv(t)?Sv(t):!!t)},Dle=tb.normalize=function(e){return String(e).replace(Ele,`.`).toLowerCase()},Ole=tb.data={},kle=tb.NATIVE=`N`,Ale=tb.POLYFILL=`P`,nb=tb,jle=Ky.f,rb=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?U:l?U[s]||iv(s,{}):(U[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=jle(n,r))&&o.value:n[r],!nb(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;Tle(a,i)}(e.sham||i&&i.sham)&&Jv(a,`sham`,!0),fy(n,r,a,e)}},ib=Object.keys||function(e){return Zy(e,Qy)},Mle=Sv((function(){ib(1)}));function ab(e){return Object.prototype.toString.call(e)===`[object Object]`}rb({target:`Object`,stat:!0,forced:Mle},{keys:function(e){return ib(dv(e))}});var Nle={isHistory(e){return!1!==ab(t=e)&&((n=t.constructor)===void 0||!1!==ab(r=n.prototype)&&!1!==r.hasOwnProperty(`isPrototypeOf`))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||lf.isOperationList(e.redos[0]))&&(e.undos.length===0||lf.isOperationList(e.undos[0]));var t,n,r}},ob=new WeakMap,sb=new WeakMap,cb={isHistoryEditor:e=>Nle.isHistory(e.history)&&P.isEditor(e),isMerging:e=>sb.get(e),isSaving:e=>ob.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=cb.isMerging(e);sb.set(e,!1),t(),sb.set(e,n)},withoutSaving(e,t){var n=cb.isSaving(e);ob.set(e,!1),t(),ob.set(e,n)}},Ple=U.String,lb=function(e){if(my(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return Ple(e)},ub=function(){var e=Iv(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},Fle=dy.PROPER,db=RegExp.prototype,fb=db.toString,Ile=W(ub),Lle=Sv((function(){return fb.call({source:`a`,flags:`b`})!=`/a/b`})),Rle=Fle&&fb.name!=`toString`;(Lle||Rle)&&fy(RegExp.prototype,`toString`,(function(){var e=Iv(this),t=lb(e.source),n=e.flags;return`/`+t+`/`+lb(n===void 0&&zv(db,e)&&!(`flags`in db)?Ile(e):n)}),{unsafe:!0});var pb,zle=jv?Object.defineProperties:function(e,t){Iv(e);for(var n,r=Wy(t),i=ib(t),a=i.length,o=0;a>o;)Kv.f(e,n=i[o++],r[n]);return e},mb=hv(`document`,`documentElement`),hb=ny(`IE_PROTO`),gb=function(){},_b=function(e){return`<script>`+e+`<\/script>`},vb=function(e){e.write(_b(``)),e.close();var t=e.parentWindow.Object;return e=null,t},yb=function(){try{pb=new ActiveXObject(`htmlfile`)}catch{}var e,t;yb=typeof document<`u`?document.domain&&pb?vb(pb):((t=Pv(`iframe`)).style.display=`none`,mb.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(_b(`document.F=Object`)),e.close(),e.F):vb(pb);for(var n=Qy.length;n--;)delete yb.prototype[Qy[n]];return yb()};ry[hb]=!0;var bb=Object.create||function(e,t){var n;return e===null?n=yb():(gb.prototype=Iv(e),n=new gb,gb.prototype=null,n[hb]=e),t===void 0?n:zle(n,t)},xb=Ov(`unscopables`),Sb=Array.prototype;Sb[xb]??Kv.f(Sb,xb,{configurable:!0,value:bb(null)});var Cb=function(e){Sb[xb][e]=!0},Ble=Yy.includes;rb({target:`Array`,proto:!0},{includes:function(e){return Ble(this,e,arguments.length>1?arguments[1]:void 0)}}),Cb(`includes`);var Vle=Ov(`match`),wb=function(e){var t;return Mv(e)&&((t=e[Vle])===void 0?py(e)==`RegExp`:!!t)},Hle=U.TypeError,Tb=function(e){if(wb(e))throw Hle(`The method doesn't accept regular expressions`);return e},Ule=Ov(`match`),Eb=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[Ule]=!1,`/./`[e](t)}catch{}}return!1},Wle=W(``.indexOf);rb({target:`String`,proto:!0,forced:!Eb(`includes`)},{includes:function(e){return!!~Wle(lb(uv(this)),lb(Tb(e)),arguments.length>1?arguments[1]:void 0)}});var Gle=/"/g,Kle=W(``.replace);rb({target:`String`,proto:!0,forced:Sv((function(){var e=``.anchor(`"`);return e!==e.toLowerCase()||e.split(`"`).length>3}))},{anchor:function(e){return t=e,n=lb(uv(this)),r=`<a`,(r+=` name="`+Kle(lb(t),Gle,`&quot;`)+`"`)+`>`+n+`</a>`;var t,n,r}});var Db=function(e,t,n){var r,i;Iv(e);try{if(!(r=Uv(e,`return`))){if(t===`throw`)throw n;return n}r=Rv(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return Iv(r),n},qle=function(e,t,n,r){try{return r?t(Iv(n)[0],n[1]):t(n)}catch(t){Db(e,`throw`,t)}},Ob={},Jle=Ov(`iterator`),Yle=Array.prototype,kb=function(e){return e!==void 0&&(Ob.Array===e||Yle[Jle]===e)},Ab=function(e,t,n){var r=Wv(t);r in e?Kv.f(e,r,qv(0,n)):e[r]=n},Xle=Ov(`iterator`),jb=function(e){if(e!=null)return Uv(e,Xle)||Uv(e,`@@iterator`)||Ob[my(e)]},Zle=U.TypeError,Mb=function(e,t){var n=arguments.length<2?jb(e):t;if(Hv(n))return Iv(Rv(n,e));throw Zle(Vv(e)+` is not iterable`)},Nb=U.Array,Pb=Ov(`iterator`),Fb=!1;try{var Qle=0,Ib={next:function(){return{done:!!Qle++}},return:function(){Fb=!0}};Ib[Pb]=function(){return this},Array.from(Ib,(function(){throw 2}))}catch{}var Lb=function(e,t){if(!t&&!Fb)return!1;var n=!1;try{var r={};r[Pb]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n};rb({target:`Array`,stat:!0,forced:!Lb((function(e){Array.from(e)}))},{from:function(e){var t=dv(e),n=jy(this),r=arguments.length,i=r>1?arguments[1]:void 0,a=i!==void 0;a&&(i=by(i,r>2?arguments[2]:void 0));var o,s,c,l,u,d,f=jb(t),p=0;if(!f||this==Nb&&kb(f))for(o=Ty(t),s=n?new this(o):Nb(o);o>p;p++)d=a?i(t[p],p):t[p],Ab(s,p,d);else for(u=(l=Mb(t,f)).next,s=n?new this:[];!(c=Rv(u,l)).done;p++)d=a?qle(l,i,[c.value,p],!0):c.value,Ab(s,p,d);return s.length=p,s}});var Rb,zb,Bb,$le=W(``.charAt),Vb=W(``.charCodeAt),eue=W(``.slice),Hb=function(e){return function(t,n){var r,i,a=lb(uv(t)),o=Cy(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=Vb(a,o))<55296||r>56319||o+1===s||(i=Vb(a,o+1))<56320||i>57343?e?$le(a,o):r:e?eue(a,o,o+2):i-56320+(r-55296<<10)+65536}},Ub={codeAt:Hb(!1),charAt:Hb(!0)},tue=!Sv((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Wb=ny(`IE_PROTO`),Gb=U.Object,nue=Gb.prototype,Kb=tue?Gb.getPrototypeOf:function(e){var t=dv(e);if(fv(t,Wb))return t[Wb];var n=t.constructor;return mv(n)&&t instanceof n?n.prototype:t instanceof Gb?nue:null},qb=Ov(`iterator`),Jb=!1;[].keys&&(`next`in(Bb=[].keys())?(zb=Kb(Kb(Bb)))!==Object.prototype&&(Rb=zb):Jb=!0),(Rb==null||Sv((function(){var e={};return Rb[qb].call(e)!==e})))&&(Rb={}),mv(Rb[qb])||fy(Rb,qb,(function(){return this}));var Yb={IteratorPrototype:Rb,BUGGY_SAFARI_ITERATORS:Jb},rue=Kv.f,Xb=Ov(`toStringTag`),Zb=function(e,t,n){e&&!fv(e=n?e:e.prototype,Xb)&&rue(e,Xb,{configurable:!0,value:t})},iue=Yb.IteratorPrototype,aue=function(){return this},oue=U.String,sue=U.TypeError,Qb=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=W(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return Iv(n),function(e){if(typeof e==`object`||mv(e))return e;throw sue(`Can't set `+oue(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),cue=dy.PROPER,lue=dy.CONFIGURABLE,$b=Yb.IteratorPrototype,ex=Yb.BUGGY_SAFARI_ITERATORS,tx=Ov(`iterator`),uue=function(){return this},nx=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=bb(iue,{next:qv(1,n)}),Zb(e,i,!1),Ob[i]=aue})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!ex&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[tx]||p[`@@iterator`]||i&&p[i],h=!ex&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=Kb(g.call(new e)))!==Object.prototype&&s.next&&(Kb(s)!==$b&&(Qb?Qb(s,$b):mv(s[tx])||fy(s,tx,uue)),Zb(s,d,!0)),cue&&i==`values`&&m&&m.name!==`values`&&(lue?Jv(p,`name`,`values`):(f=!0,h=function(){return Rv(m,this)})),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(ex||f||!(l in p))&&fy(p,l,c[l]);else rb({target:t,proto:!0,forced:ex||f},c);return p[tx]!==h&&fy(p,tx,h,{name:i}),Ob[t]=h,c},due=Ub.charAt,fue=cy.set,pue=cy.getterFor(`String Iterator`);nx(String,`String`,(function(e){fue(this,{type:`String Iterator`,string:lb(e),index:0})}),(function(){var e,t=pue(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=due(n,r),t.index+=e.length,{value:e,done:!1})}));var rx,mue=Ky.f,ix=W(``.endsWith),hue=W(``.slice),gue=Math.min,ax=Eb(`endsWith`);rb({target:`String`,proto:!0,forced:!!(ax||(rx=mue(String.prototype,`endsWith`),!rx||rx.writable))&&!ax},{endsWith:function(e){var t=lb(uv(this));Tb(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=n===void 0?r:gue(wy(n),r),a=lb(e);return ix?ix(t,a,i):hue(t,i-a.length,i)===a}});var _ue=W([].join),vue=Sy!=Object,yue=Ly(`join`,`,`);rb({target:`Array`,proto:!0,forced:vue||!yue},{join:function(e){return _ue(Wy(this),e===void 0?`,`:e)}});var bue=Ov(`species`),ox=function(e){return xv>=51||!Sv((function(){var t=[];return(t.constructor={})[bue]=function(){return{foo:1}},t[e](Boolean).foo!==1}))},xue=Iy.map;rb({target:`Array`,proto:!0,forced:!ox(`map`)},{map:function(e){return xue(this,e,arguments.length>1?arguments[1]:void 0)}});var sx=U.RegExp,cx=Sv((function(){var e=sx(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),Sue=cx||Sv((function(){return!sx(`a`,`y`).sticky})),lx={BROKEN_CARET:cx||Sv((function(){var e=sx(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:Sue,UNSUPPORTED_Y:cx},Cue=U.RegExp,ux=Sv((function(){var e=Cue(`.`,`s`);return!(e.dotAll&&e.exec(`
16
+ `)&&e.flags===`s`)})),wue=U.RegExp,dx=Sv((function(){var e=wue(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),Tue=cy.get,Eue=ov(`native-string-replace`,String.prototype.replace),fx=RegExp.prototype.exec,px=fx,Due=W(``.charAt),Oue=W(``.indexOf),kue=W(``.replace),mx=W(``.slice),hx=function(){var e=/a/,t=/b*/g;return Rv(fx,e,`a`),Rv(fx,t,`a`),e.lastIndex!==0||t.lastIndex!==0}(),gx=lx.BROKEN_CARET,_x=/()??/.exec(``)[1]!==void 0;(hx||_x||gx||ux||dx)&&(px=function(e){var t,n,r,i,a,o,s,c=this,l=Tue(c),u=lb(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=Rv(px,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=gx&&c.sticky,m=Rv(ub,c),h=c.source,g=0,_=u;if(p&&(m=kue(m,`y`,``),Oue(m,`g`)===-1&&(m+=`g`),_=mx(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&Due(u,c.lastIndex-1)!==`
17
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),_x&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),hx&&(r=c.lastIndex),i=Rv(fx,p?n:c,_),p?i?(i.input=mx(i.input,g),i[0]=mx(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:hx&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),_x&&i&&i.length>1&&Rv(Eue,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=bb(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var vx=px;rb({target:`RegExp`,proto:!0,forced:/./.exec!==vx},{exec:vx});var yx=Function.prototype,bx=yx.apply,Aue=yx.bind,xx=yx.call,Sx=typeof Reflect==`object`&&Reflect.apply||(Aue?xx.bind(bx):function(){return xx.apply(bx,arguments)}),jue=Ov(`species`),Cx=RegExp.prototype,wx=function(e,t,n,r){var i=Ov(e),a=!Sv((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!Sv((function(){var t=!1,n=/a/;return e===`split`&&((n={}).constructor={},n.constructor[jue]=function(){return n},n.flags=``,n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](``),!t}));if(!a||!o||n){var s=W(/./[i]),c=t(i,``[e],(function(e,t,n,r,i){var o=W(e),c=t.exec;return c===vx||c===Cx.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));fy(String.prototype,e,c[0]),fy(Cx,i,c[1])}r&&Jv(Cx[i],`sham`,!0)},Mue=Ub.charAt,Tx=function(e,t,n){return t+(n?Mue(e,t).length:1)},Nue=Math.floor,Ex=W(``.charAt),Pue=W(``.replace),Dx=W(``.slice),Fue=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Iue=/\$([$&'`]|\d{1,2})/g,Lue=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,c=Iue;return i!==void 0&&(i=dv(i),c=Fue),Pue(a,c,(function(a,c){var l;switch(Ex(c,0)){case`$`:return`$`;case`&`:return e;case"`":return Dx(t,0,n);case`'`:return Dx(t,o);case`<`:l=i[Dx(c,1,-1)];break;default:var u=+c;if(u===0)return a;if(u>s){var d=Nue(u/10);return d===0?a:d<=s?r[d-1]===void 0?Ex(c,1):r[d-1]+Ex(c,1):a}l=r[u-1]}return l===void 0?``:l}))},Rue=U.TypeError,Ox=function(e,t){var n=e.exec;if(mv(n)){var r=Rv(n,e,t);return r!==null&&Iv(r),r}if(py(e)===`RegExp`)return Rv(vx,e,t);throw Rue(`RegExp#exec called on incompatible receiver`)},kx=Ov(`replace`),zue=Math.max,Bue=Math.min,Vue=W([].concat),Ax=W([].push),jx=W(``.indexOf),Mx=W(``.slice),Hue=`a`.replace(/./,`$0`)===`$0`,Nx=!!/./[kx]&&/./[kx](`a`,`$0`)===``;wx(`replace`,(function(e,t,n){var r=Nx?`$`:`$0`;return[function(e,n){var r=uv(this),i=e==null?void 0:Uv(e,kx);return i?Rv(i,e,r,n):Rv(t,lb(r),e,n)},function(e,i){var a=Iv(this),o=lb(e);if(typeof i==`string`&&jx(i,r)===-1&&jx(i,`$<`)===-1){var s=n(t,a,o,i);if(s.done)return s.value}var c=mv(i);c||(i=lb(i));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var d=[];;){var f=Ox(a,o);if(f===null||(Ax(d,f),!l))break;lb(f[0])===``&&(a.lastIndex=Tx(o,wy(a.lastIndex),u))}for(var p,m=``,h=0,g=0;g<d.length;g++){for(var _=lb((f=d[g])[0]),v=zue(Bue(Cy(f.index),o.length),0),y=[],b=1;b<f.length;b++)Ax(y,(p=f[b])===void 0?p:String(p));var x=f.groups;if(c){var S=Vue([_],y,v,o);x!==void 0&&Ax(S,x);var C=lb(Sx(i,void 0,S))}else C=Lue(_,o,v,y,x,i);v>=h&&(m+=Mx(o,h,v)+C,h=v+_.length)}return m+Mx(o,h)}]}),!!Sv((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}))||!Hue||Nx);var Px=function(e,t){return Px=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Px(e,t)};function Fx(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}Px(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ix=function(){return Ix=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Ix.apply(this,arguments)};function Lx(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function Rx(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function zx(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}var Uue=0,Bx=function(){this.id=``+ Uue++},Wue=cy.set,Gue=cy.getterFor(`Array Iterator`),Vx=nx(Array,`Array`,(function(e,t){Wue(this,{type:`Array Iterator`,target:Wy(e),index:0,kind:t})}),(function(){var e=Gue(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`);Ob.Arguments=Ob.Array,Cb(`keys`),Cb(`values`),Cb(`entries`);var Hx=function(e,t,n){for(var r in t)fy(e,r,t[r],n);return e},Kue=U.Array,que=Math.max,Ux=function(e,t,n){for(var r=Ty(e),i=qy(t,r),a=qy(n===void 0?r:n,r),o=Kue(que(a-i,0)),s=0;i<a;i++,s++)Ab(o,s,e[i]);return o.length=s,o},Wx=$y.f,Gx=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Jue={f:function(e){return Gx&&py(e)==`Window`?function(e){try{return Wx(e)}catch{return Ux(Gx)}}(e):Wx(Wy(e))}},Kx=Sv((function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,`a`,{value:8})}})),qx=Object.isExtensible,Jx=Sv((function(){qx(1)}))||Kx?function(e){return!!Mv(e)&&(!Kx||py(e)!=`ArrayBuffer`)&&(!qx||qx(e))}:qx,Yue=!Sv((function(){return Object.isExtensible(Object.preventExtensions({}))})),Yx=ev((function(e){var t=Kv.f,n=!1,r=pv(`meta`),i=0,a=function(e){t(e,r,{value:{objectID:`O`+ i++,weakData:{}}})},o=e.exports={enable:function(){o.enable=function(){},n=!0;var e=$y.f,t=W([].splice),i={};i[r]=1,e(i).length&&($y.f=function(n){for(var i=e(n),a=0,o=i.length;a<o;a++)if(i[a]===r){t(i,a,1);break}return i},rb({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:Jue.f}))},fastKey:function(e,t){if(!Mv(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!fv(e,r)){if(!Jx(e))return`F`;if(!t)return`E`;a(e)}return e[r].objectID},getWeakData:function(e,t){if(!fv(e,r)){if(!Jx(e))return!0;if(!t)return!1;a(e)}return e[r].weakData},onFreeze:function(e){return Yue&&n&&Jx(e)&&!fv(e,r)&&a(e),e}};ry[r]=!0})),Xue=U.TypeError,Xx=function(e,t){this.stopped=e,this.result=t},Zx=Xx.prototype,Qx=function(e,t,n){var r,i,a,o,s,c,l,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=by(t,u),h=function(e){return r&&Db(r,`normal`,e),new Xx(!0,e)},g=function(e){return d?(Iv(e),p?m(e[0],e[1],h):m(e[0],e[1])):p?m(e,h):m(e)};if(f)r=e;else{if(!(i=jb(e)))throw Xue(Vv(e)+` is not iterable`);if(kb(i)){for(a=0,o=Ty(e);o>a;a++)if((s=g(e[a]))&&zv(Zx,s))return s;return new Xx(!1)}r=Mb(e,i)}for(c=r.next;!(l=Rv(c,r)).done;){try{s=g(l.value)}catch(e){Db(r,`throw`,e)}if(typeof s==`object`&&s&&zv(Zx,s))return s}return new Xx(!1)},Zue=U.TypeError,$x=function(e,t){if(zv(t,e))return e;throw Zue(`Incorrect invocation`)},eS=function(e,t,n){var r,i;return Qb&&mv(r=t.constructor)&&r!==n&&Mv(i=r.prototype)&&i!==n.prototype&&Qb(e,i),e},tS=function(e,t,n){var r=e.indexOf(`Map`)!==-1,i=e.indexOf(`Weak`)!==-1,a=r?`set`:`add`,o=U[e],s=o&&o.prototype,c=o,l={},u=function(e){var t=W(s[e]);fy(s,e,e==`add`?function(e){return t(this,e===0?0:e),this}:e==`delete`?function(e){return!(i&&!Mv(e))&&t(this,e===0?0:e)}:e==`get`?function(e){return i&&!Mv(e)?void 0:t(this,e===0?0:e)}:e==`has`?function(e){return!(i&&!Mv(e))&&t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(nb(e,!mv(o)||!(i||s.forEach&&!Sv((function(){new o().entries().next()})))))c=n.getConstructor(t,e,r,a),Yx.enable();else if(nb(e,!0)){var d=new c,f=d[a](i?{}:-0,1)!=d,p=Sv((function(){d.has(1)})),m=Lb((function(e){new o(e)})),h=!i&&Sv((function(){for(var e=new o,t=5;t--;)e[a](t,t);return!e.has(-0)}));m||((c=t((function(e,t){$x(e,s);var n=eS(new o,e,c);return t!=null&&Qx(t,n[a],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=c),(p||h)&&(u(`delete`),u(`has`),r&&u(`get`)),(h||f)&&u(a),i&&s.clear&&delete s.clear}return l[e]=c,rb({global:!0,forced:c!=o},l),Zb(c,e),i||n.setStrong(c,e,r),c},nS=Yx.getWeakData,Que=cy.set,$ue=cy.getterFor,ede=Iy.find,tde=Iy.findIndex,nde=W([].splice),rde=0,rS=function(e){return e.frozen||=new iS},iS=function(){this.entries=[]},aS=function(e,t){return ede(e.entries,(function(e){return e[0]===t}))};iS.prototype={get:function(e){var t=aS(this,e);if(t)return t[1]},has:function(e){return!!aS(this,e)},set:function(e,t){var n=aS(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=tde(this.entries,(function(t){return t[0]===e}));return~t&&nde(this.entries,t,1),!!~t}};var oS,sS={getConstructor:function(e,t,n,r){var i=e((function(e,i){$x(e,a),Que(e,{type:t,id:rde++,frozen:void 0}),i!=null&&Qx(i,e[r],{that:e,AS_ENTRIES:n})})),a=i.prototype,o=$ue(t),s=function(e,t,n){var r=o(e),i=nS(Iv(t),!0);return!0===i?rS(r).set(t,n):i[r.id]=n,e};return Hx(a,{delete:function(e){var t=o(this);if(!Mv(e))return!1;var n=nS(e);return!0===n?rS(t).delete(e):n&&fv(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!Mv(e))return!1;var n=nS(e);return!0===n?rS(t).has(e):n&&fv(n,t.id)}}),Hx(a,n?{get:function(e){var t=o(this);if(Mv(e)){var n=nS(e);return!0===n?rS(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),i}},cS=cy.enforce,ide=!U.ActiveXObject&&`ActiveXObject`in U,lS=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ade=tS(`WeakMap`,lS,sS);if(ey&&ide){oS=sS.getConstructor(lS,`WeakMap`,!0),Yx.enable();var uS=ade.prototype,dS=W(uS.delete),fS=W(uS.has),pS=W(uS.get),mS=W(uS.set);Hx(uS,{delete:function(e){if(Mv(e)&&!Jx(e)){var t=cS(this);return t.frozen||=new oS,dS(this,e)||t.frozen.delete(e)}return dS(this,e)},has:function(e){if(Mv(e)&&!Jx(e)){var t=cS(this);return t.frozen||=new oS,fS(this,e)||t.frozen.has(e)}return fS(this,e)},get:function(e){if(Mv(e)&&!Jx(e)){var t=cS(this);return t.frozen||=new oS,fS(this,e)?pS(this,e):t.frozen.get(e)}return pS(this,e)},set:function(e,t){if(Mv(e)&&!Jx(e)){var n=cS(this);n.frozen||=new oS,fS(this,e)?mS(this,e,t):n.frozen.set(e,t)}else mS(this,e,t);return this}})}var hS=Ov(`iterator`),gS=Ov(`toStringTag`),_S=Vx.values,vS=function(e,t){if(e){if(e[hS]!==_S)try{Jv(e,hS,_S)}catch{e[hS]=_S}if(e[gS]||Jv(e,gS,t),hy[t]){for(var n in Vx)if(e[n]!==Vx[n])try{Jv(e,n,Vx[n])}catch{e[n]=Vx[n]}}}};for(var yS in hy)vS(U[yS]&&U[yS].prototype,yS);vS(vy,`DOMTokenList`);var bS=new WeakMap,xS=new WeakMap,SS=new WeakMap,CS=new WeakMap,wS=new WeakMap,TS=new WeakMap,ES=new WeakMap,DS=new WeakMap,OS=new WeakMap,kS=new WeakMap,AS=new WeakMap,jS=new WeakMap,MS=new WeakMap,NS=new WeakMap,PS=new WeakMap,FS=new WeakMap,IS=new WeakMap,LS=new WeakMap,RS=new WeakMap,zS=new WeakMap,BS=new WeakMap,VS=new WeakMap,HS=new WeakMap,US=new WeakMap,WS=new WeakMap,ode=Iy.find,GS=!0;`find`in[]&&[,].find((function(){GS=!1})),rb({target:`Array`,proto:!0,forced:GS},{find:function(e){return ode(this,e,arguments.length>1?arguments[1]:void 0)}}),Cb(`find`),rb({global:!0},{globalThis:U});var sde=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`isindex`,`keygen`,`link`,`menuitem`,`meta`,`nextid`,`param`,`source`,`track`,`wbr`];Mp&&(B.fn.css=Mp),Rp&&(B.fn.append=Rp),vp&&(B.fn.addClass=vp),yp&&(B.fn.removeClass=yp),bp&&(B.fn.hasClass=bp),Tp&&(B.fn.on=Tp),Jp&&(B.fn.focus=Jp),xp&&(B.fn.attr=xp),Sp&&(B.fn.removeAttr=Sp),Ap&&(B.fn.hide=Ap),jp&&(B.fn.show=jp),kp&&(B.fn.offset=kp),Dp&&(B.fn.width=Dp),Op&&(B.fn.height=Op),Bp&&(B.fn.parent=Bp),Vp&&(B.fn.parents=Vp),Lp&&(B.fn.is=Lp),Cp&&(B.fn.dataset=Cp),wp&&(B.fn.val=wp),Ip&&(B.fn.text=Ip),Fp&&(B.fn.html=Fp),Up&&(B.fn.children=Up),Wp&&(B.fn.remove=Wp),Hp&&(B.fn.find=Hp),Np&&(B.fn.each=Np),Gp&&(B.fn.empty=Gp);var KS,qS,JS=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},YS=function(e){return XS(e)&&e.nodeType===1},XS=function(e){var t=JS(e);return!!t&&e instanceof t.Node},ZS=function(e){var t=e&&e.anchorNode&&JS(e.anchorNode);return!!t&&e instanceof t.Selection},QS=function(e){return XS(e)&&e.nodeType===3},$S=function(e){return window.document.getElementById(e)??((window.document.activeElement?.shadowRoot)?.getElementById(e)||null)},eC=function(e,t,n){for(var r,i=e.childNodes,a=i[t],o=t,s=!1,c=!1;(XS(r=a)&&r.nodeType===8||YS(a)&&a.childNodes.length===0||YS(a)&&a.getAttribute(`contenteditable`)===`false`)&&(!s||!c);)o>=i.length?(s=!0,o=t-1,n=`backward`):o<0?(c=!0,o=t+1,n=`forward`):(a=i[o],t=o,o+=n===`forward`?1:-1);return[a,t]},cde=function(e,t,n){return Rx(eC(e,t,n),1)[0]},lde=function e(t){var n,r,i=``;if(QS(t)&&t.nodeValue)return t.nodeValue;if(YS(t)){try{for(var a=Lx(Array.from(t.childNodes)),o=a.next();!o.done;o=a.next())i+=e(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}var s=getComputedStyle(t).getPropertyValue(`display`);s!==`block`&&s!==`list`&&s!==`table-row`&&t.tagName!==`BR`||(i+=`
18
+ `)}return i};function tC(e,t){if(!(e instanceof HTMLElement&&e.dataset.slateVoid===`true`))for(var n=e.childNodes,r=n.length;r--;){var i=n[r],a=i.nodeType;a==3?t(i,e):a!=1&&a!=9&&a!=11||tC(i,t)}}function nC(e){if(e.length===0)return``;var t=e[0];return t.nodeType===KS.ELEMENT_NODE?t.tagName.toLowerCase():``}(qS=KS||={})[qS.ELEMENT_NODE=1]=`ELEMENT_NODE`,qS[qS.TEXT_NODE=3]=`TEXT_NODE`,qS[qS.CDATA_SECTION_NODE=4]=`CDATA_SECTION_NODE`,qS[qS.PROCESSING_INSTRUCTION_NODE=7]=`PROCESSING_INSTRUCTION_NODE`,qS[qS.COMMENT_NODE=8]=`COMMENT_NODE`,qS[qS.DOCUMENT_NODE=9]=`DOCUMENT_NODE`,qS[qS.DOCUMENT_TYPE_NODE=10]=`DOCUMENT_TYPE_NODE`,qS[qS.DOCUMENT_FRAGMENT_NODE=11]=`DOCUMENT_FRAGMENT_NODE`,globalThis.navigator!==void 0&&globalThis.window!==void 0&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var rC=typeof navigator<`u`&&/Mac OS X/.test(navigator.userAgent),iC=typeof navigator<`u`&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator<`u`&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var aC=typeof navigator<`u`&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),ude=typeof navigator<`u`&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),dde=typeof navigator<`u`&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),oC=typeof navigator<`u`&&/Chrome/i.test(navigator.userAgent);typeof navigator<`u`&&/.*QQBrowser/.test(navigator.userAgent);var sC=!dde&&!ude&&typeof globalThis<`u`&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges==`function`,G={getWindow:function(e){var t=BS.get(e);if(!t)throw Error(`Unable to find a host window element for this editor`);return t},findKey:function(e,t){var n=zS.get(t);return n||(n=new Bx,zS.set(t,n)),n},setNewKey:function(e){var t=new Bx;zS.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var i=PS.get(r);if(i==null){if(P.isEditor(r))return n;break}var a=NS.get(r);if(a==null)break;n.unshift(a),r=i}throw Error(`Unable to find the path for Slate node: `+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=G.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:t.ownerDocument},getParentNode:function(e,t){return PS.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&r!=null;){var i=G.getParentNode(e,r);if(i==null)break;n.push(i),r=i}return n},getTopNode:function(e,t){var n=[G.findPath(e,t)[0]];return F.get(e,n)},toDOMNode:function(e,t){var n;if(P.isEditor(t))n=FS.get(e);else{var r=G.findKey(e,t);n=LS.get(r)}if(!n)throw Error(`Cannot resolve a DOM node from Slate node: `+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){n===void 0&&(n={});var r,i=n.editable,a=i!==void 0&&i,o=G.toDOMNode(e,e);try{r=YS(t)?t:t.parentElement}catch(e){if(!e.message.includes(`Permission denied to access property "nodeType"`))throw e}return!!r&&r.closest(`[data-slate-editor]`)===o&&(!a||r.isContentEditable||!!r.getAttribute(`data-slate-zero-width`))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,i=L.isBackward(t),a=G.toDOMPoint(e,n),o=L.isCollapsed(t)?a:G.toDOMPoint(e,r),s=G.getWindow(e).document.createRange(),c=Rx(i?o:a,2),l=c[0],u=c[1],d=Rx(i?a:o,2),f=d[0],p=d[1],m=!!(YS(l)?l:l.parentElement).getAttribute(`data-slate-zero-width`),h=!!(YS(f)?f:f.parentElement).getAttribute(`data-slate-zero-width`);return s.setStart(l,m?1:u),s.setEnd(f,h?1:p),s},toDOMPoint:function(e,t){var n,r,i,a=Rx(P.node(e,t.path),1)[0],o=G.toDOMNode(e,a);P.void(e,{at:t})&&(t={path:t.path,offset:0});var s=Array.from(o.querySelectorAll(`[data-slate-string], [data-slate-zero-width]`)),c=0;try{for(var l=Lx(s),u=l.next();!u.done;u=l.next()){var d=u.value,f=d.childNodes[0];if(f!=null&&f.textContent!=null){var p=f.textContent.length,m=d.getAttribute(`data-slate-length`),h=c+(m==null?p:parseInt(m,10));if(t.offset<=h){i=[f,Math.min(p,Math.max(0,t.offset-c))];break}c=h}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!i)throw Error(`Cannot resolve a DOM point from Slate point: `+JSON.stringify(t));return i},toSlateNode:function(e,t){var n=YS(t)?t:t.parentElement;n&&!n.hasAttribute(`data-slate-node`)&&(n=n.closest(`[data-slate-node]`));var r=n?IS.get(n):null;if(!r)throw Error(`Cannot resolve a Slate node from DOM node: `+n);return r},findEventRange:function(e,t){`nativeEvent`in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,i=t.target;if(n==null||r==null)throw Error(`Cannot resolve a Slate range from a DOM event: `+t);var a,o=G.toSlateNode(e,t.target),s=G.findPath(e,o);if(P.isVoid(e,o)){var c=i.getBoundingClientRect(),l=e.isInline(o)?n-c.left<c.left+c.width-n:r-c.top<c.top+c.height-r,u=P.point(e,s,{edge:l?`start`:`end`}),d=l?P.before(e,u):P.after(e,u);if(d)return P.range(e,d)}var f=this.getWindow(e).document;if(f.caretRangeFromPoint)a=f.caretRangeFromPoint(n,r);else{var p=f.caretPositionFromPoint(n,r);p&&((a=f.createRange()).setStart(p.offsetNode,p.offset),a.setEnd(p.offsetNode,p.offset))}if(!a)throw Error(`Cannot resolve a Slate range from a DOM event: `+t);return G.toSlateRange(e,a,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,i,a,o,s,c=n.exactMatch,l=n.suppressThrow;if((ZS(t)?t.anchorNode:t.startContainer)&&(ZS(t)?(r=t.anchorNode,i=t.anchorOffset,a=t.focusNode,o=t.focusOffset,s=oC&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,i=t.startOffset,a=t.endContainer,o=t.endOffset,s=t.collapsed)),r==null||a==null||i==null||o==null)throw Error(`Cannot resolve a Slate range from DOM range: `+t);var u=G.toSlatePoint(e,[r,i],{exactMatch:c,suppressThrow:l});if(!u)return null;var d=s?u:G.toSlatePoint(e,[a,o],{exactMatch:c,suppressThrow:l});if(!d)return null;var f={anchor:u,focus:d};return L.isExpanded(f)&&L.isForward(f)&&YS(a)&&P.void(e,{at:f.focus,mode:`highest`})&&(f=P.unhangRange(e,f,{voids:!0})),f},toSlatePoint:function(e,t,n){var r,i=n.exactMatch,a=n.suppressThrow,o=Rx(i?t:function(e){var t,n=Rx(e,2),r=n[0],i=n[1];if(YS(r)&&r.childNodes.length){var a=i===r.childNodes.length,o=a?i-1:i;for(r=(t=Rx(eC(r,o,a?`backward`:`forward`),2))[0],a=(o=t[1])<i;YS(r)&&r.childNodes.length;){var s=a?r.childNodes.length-1:0;r=cde(r,s,a?`backward`:`forward`)}i=a&&r.textContent!=null?r.textContent.length:0}return[r,i]}(t),2),s=o[0],c=o[1],l=s.parentNode,u=null,d=0;if(l){var f=l.closest(`[data-slate-void="true"]`),p=l.closest(`[data-slate-leaf]`),m=null;if(p){u=p.closest(`[data-slate-node="text"]`);var h=G.getWindow(e).document.createRange();h.setStart(u,0),h.setEnd(s,c);var g=h.cloneContents();zx(zx([],Rx(ap(g.querySelectorAll(`[data-slate-zero-width]`)))),Rx(ap(g.querySelectorAll(`[contenteditable=false]`)))).forEach((function(e){e.parentNode.removeChild(e)})),d=g.textContent.length,m=u}else f&&((p=f.querySelector(`[data-slate-leaf]`))?(u=p.closest(`[data-slate-node="text"]`),d=(m=p).textContent.length,m.querySelectorAll(`[data-slate-zero-width]`).forEach((function(e){d-=e.textContent.length}))):d=1);m&&d===m.textContent.length&&(l.hasAttribute(`data-slate-zero-width`)||iC&&(r=m.textContent)!=null&&r.endsWith(`
19
+ `))&&d--}if(!u){if(a)return null;throw Error(`Cannot resolve a Slate point from DOM point: `+t)}var _=G.toSlateNode(e,u);return{path:G.findPath(e,_),offset:d}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return P.hasPath(e,n.path)&&P.hasPath(e,r.path)},getNodeType:function(e){return N.isElement(e)?e.type:``},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map((function(e){return F.string(e)})).join(``)},getSelectedElems:function(e){var t,n,r=[],i=P.nodes(e,{universal:!0});try{for(var a=Lx(i),o=a.next();!o.done;o=a.next()){var s=Rx(o.value,1)[0];N.isElement(s)&&r.push(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=Rx(P.nodes(e,{match:function(e){return n.checkNodeType(e,t)},universal:!0}),1)[0];return r==null?null:r[0]},getSelectedTextNode:function(e){var t=Rx(P.nodes(e,{match:function(e){return R.isText(e)},universal:!0}),1)[0];return t==null?null:t[0]},isNodeSelected:function(e,t){var n=Rx(P.nodes(e,{match:function(e){return e===t},universal:!0}),1)[0];return n!=null&&Rx(n,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(P.isEnd(e,n.anchor,t)||P.isEnd(e,n.focus,t))},getTextarea:function(e){var t=bS.get(e);if(t==null)throw Error(`Cannot find textarea instance by editor`);return t},getToolbar:function(e){return CS.get(e)||null},getHoverbar:function(e){return TS.get(e)||null},normalizeContent:function(e){e.children.forEach((function(t,n){e.normalizeNode([t,[n]])}))},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if(typeof n!=`number`||n<=0)return 1/0;var i=n-e.getText().replace(/\r|\n|(\r\n)/g,``).length;return i<=0&&r&&r(e),i},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,i,a=G.getTextarea(e).$textArea?.[0].childNodes;if(a)try{for(var o=Lx(Array.from(a)),s=o.next();!s.done;s=o.next()){var c=s.value;if(c.nodeType!==3)break;c.remove()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}var l=P.nodes(e,{match:function(t){return!(!N.isElement(t)||e.isInline(t))},universal:!0});try{for(var u=Lx(l),d=u.next();!d.done;d=u.next()){var f=d.value;if(f!=null){var p=f[0];tC(G.toDOMNode(e,p),(function(e,t){var n=B(t);n.attr(`data-slate-string`)||n.attr(`data-slate-zero-width`)||n.attr(`data-w-e-reserve`)||t.removeChild(e)}))}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:`paragraph`,children:[{text:``}]}},isSelectedVoidNode:function(e){var t,n,r=P.nodes(e,{match:function(t){return e.isVoid(t)}}),i=0;try{for(var a=Lx(r),o=a.next();!o.done;o=a.next())o.value,i++}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(t==null||L.isExpanded(t))return!1;var n=G.getSelectedNodeByType(e,`paragraph`);if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===``||void 0)},isEmptyPath:function(e,t){var n=P.node(e,t);if(n==null)return!1;var r=Rx(n,1)[0].children;return r.length===1&&r[0].text===``}},fde=1,cC={},lC={},pde=Iy.filter;rb({target:`Array`,proto:!0,forced:!ox(`filter`)},{filter:function(e){return pde(this,e,arguments.length>1?arguments[1]:void 0)}});var uC=`
20
+ \v\f\r \xA0               \u2028\u2029`,dC=W(``.replace),fC=`[`+uC+`]`,mde=RegExp(`^`+fC+fC+`*`),hde=RegExp(fC+fC+`*$`),pC=function(e){return function(t){var n=lb(uv(t));return 1&e&&(n=dC(n,mde,``)),2&e&&(n=dC(n,hde,``)),n}},gde={start:pC(1),end:pC(2),trim:pC(3)},_de=dy.PROPER,vde=gde.trim;rb({target:`String`,proto:!0,forced:function(e){return Sv((function(){return!!uC[e]()||`​…᠎`[e]()!==`​…᠎`||_de&&uC[e].name!==e}))}(`trim`)},{trim:function(){return vde(this)}});var mC=[],hC={};function yde(e,t,n){var r=n.isInline(e)?`span`:`div`;return`<`+r+`>`+t+`</`+r+`>`}var gC,_C,vC,yC,bC=U.Promise,xC=Ov(`species`),SC=function(e){var t=hv(e),n=Kv.f;jv&&t&&!t[xC]&&n(t,xC,{configurable:!0,get:function(){return this}})},bde=U.TypeError,xde=Ov(`species`),CC=function(e,t){var n,r=Iv(e).constructor;return r===void 0||(n=Iv(r)[xde])==null?t:function(e){if(jy(e))return e;throw bde(Vv(e)+` is not a constructor`)}(n)},wC=W([].slice),TC=/(?:ipad|iphone|ipod).*applewebkit/i.test(gv),EC=py(U.process)==`process`,DC=U.setImmediate,OC=U.clearImmediate,Sde=U.process,kC=U.Dispatch,Cde=U.Function,AC=U.MessageChannel,wde=U.String,jC=0,MC={};try{gC=U.location}catch{}var NC=function(e){if(fv(MC,e)){var t=MC[e];delete MC[e],t()}},PC=function(e){return function(){NC(e)}},FC=function(e){NC(e.data)},IC=function(e){U.postMessage(wde(e),gC.protocol+`//`+gC.host)};DC&&OC||(DC=function(e){var t=wC(arguments,1);return MC[++jC]=function(){Sx(mv(e)?e:Cde(e),void 0,t)},_C(jC),jC},OC=function(e){delete MC[e]},EC?_C=function(e){Sde.nextTick(PC(e))}:kC&&kC.now?_C=function(e){kC.now(PC(e))}:AC&&!TC?(yC=(vC=new AC).port2,vC.port1.onmessage=FC,_C=by(yC.postMessage,yC)):U.addEventListener&&mv(U.postMessage)&&!U.importScripts&&gC&&gC.protocol!==`file:`&&!Sv(IC)?(_C=IC,U.addEventListener(`message`,FC,!1)):_C=`onreadystatechange`in Pv(`script`)?function(e){mb.appendChild(Pv(`script`)).onreadystatechange=function(){mb.removeChild(this),NC(e)}}:function(e){setTimeout(PC(e),0)});var LC,RC,zC,BC,VC,HC,UC,WC,GC={set:DC,clear:OC},Tde=/ipad|iphone|ipod/i.test(gv)&&U.Pebble!==void 0,Ede=/web0s(?!.*chrome)/i.test(gv),Dde=Ky.f,KC=GC.set,qC=U.MutationObserver||U.WebKitMutationObserver,JC=U.document,YC=U.process,XC=U.Promise,ZC=Dde(U,`queueMicrotask`),QC=ZC&&ZC.value;QC||(LC=function(){var e,t;for(EC&&(e=YC.domain)&&e.exit();RC;){t=RC.fn,RC=RC.next;try{t()}catch(e){throw RC?BC():zC=void 0,e}}zC=void 0,e&&e.enter()},TC||EC||Ede||!qC||!JC?!Tde&&XC&&XC.resolve?((UC=XC.resolve(void 0)).constructor=XC,WC=by(UC.then,UC),BC=function(){WC(LC)}):EC?BC=function(){YC.nextTick(LC)}:(KC=by(KC,U),BC=function(){KC(LC)}):(VC=!0,HC=JC.createTextNode(``),new qC(LC).observe(HC,{characterData:!0}),BC=function(){HC.data=VC=!VC}));var $C,ew,tw,nw,rw=QC||function(e){var t={fn:e,next:void 0};zC&&(zC.next=t),RC||(RC=t,BC()),zC=t},Ode=function(e){var t,n;this.promise=new e((function(e,r){if(t!==void 0||n!==void 0)throw TypeError(`Bad Promise constructor`);t=e,n=r})),this.resolve=Hv(t),this.reject=Hv(n)},iw={f:function(e){return new Ode(e)}},aw=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},kde=typeof window==`object`,ow=GC.set,Ade=Ov(`species`),sw=`Promise`,cw=cy.getterFor(sw),jde=cy.set,Mde=cy.getterFor(sw),lw=bC&&bC.prototype,uw=bC,dw=lw,fw=U.TypeError,pw=U.document,mw=U.process,hw=iw.f,Nde=hw,Pde=!!(pw&&pw.createEvent&&U.dispatchEvent),gw=mv(U.PromiseRejectionEvent),_w=!1,vw=nb(sw,(function(){var e=Qv(uw),t=e!==String(uw);if(!t&&xv===66)return!0;if(xv>=51&&/native code/.test(e))return!1;var n=new uw((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Ade]=r,!(_w=n.then((function(){}))instanceof r)||!t&&kde&&!gw})),Fde=vw||!Lb((function(e){uw.all(e).catch((function(){}))})),yw=function(e){var t;return!(!Mv(e)||!mv(t=e.then))&&t},bw=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;rw((function(){for(var r=e.value,i=e.state==1,a=0;n.length>a;){var o,s,c,l=n[a++],u=i?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{u?(i||(e.rejection===2&&Lde(e),e.rejection=1),!0===u?o=r:(p&&p.enter(),o=u(r),p&&(p.exit(),c=!0)),o===l.promise?f(fw(`Promise-chain cycle`)):(s=yw(o))?Rv(s,o,d,f):d(o)):f(r)}catch(e){p&&!c&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Ide(e)}))}},xw=function(e,t,n){var r,i;Pde?((r=pw.createEvent(`Event`)).promise=t,r.reason=n,r.initEvent(e,!1,!0),U.dispatchEvent(r)):r={promise:t,reason:n},!gw&&(i=U[`on`+e])?i(r):e===`unhandledrejection`&&function(e,t){var n=U.console;n&&n.error&&(arguments.length==1?n.error(e):n.error(e,t))}(`Unhandled promise rejection`,n)},Ide=function(e){Rv(ow,U,(function(){var t,n=e.facade,r=e.value;if(Sw(e)&&(t=aw((function(){EC?mw.emit(`unhandledRejection`,r,n):xw(`unhandledrejection`,n,r)})),e.rejection=EC||Sw(e)?2:1,t.error))throw t.value}))},Sw=function(e){return e.rejection!==1&&!e.parent},Lde=function(e){Rv(ow,U,(function(){var t=e.facade;EC?mw.emit(`rejectionHandled`,t):xw(`rejectionhandled`,t,e.value)}))},Cw=function(e,t,n){return function(r){e(t,r,n)}},ww=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,bw(e,!0))},Tw=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw fw(`Promise can't be resolved itself`);var r=yw(t);r?rw((function(){var n={done:!1};try{Rv(r,t,Cw(Tw,n,e),Cw(ww,n,e))}catch(t){ww(n,t,e)}})):(e.value=t,e.state=1,bw(e,!1))}catch(t){ww({done:!1},t,e)}}};if(vw&&(dw=(uw=function(e){$x(this,dw),Hv(e),Rv($C,this);var t=cw(this);try{e(Cw(Tw,t),Cw(ww,t))}catch(e){ww(t,e)}}).prototype,($C=function(e){jde(this,{type:sw,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Hx(dw,{then:function(e,t){var n=Mde(this),r=n.reactions,i=hw(CC(this,uw));return i.ok=!mv(e)||e,i.fail=mv(t)&&t,i.domain=EC?mw.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&bw(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),ew=function(){var e=new $C,t=cw(e);this.promise=e,this.resolve=Cw(Tw,t),this.reject=Cw(ww,t)},iw.f=hw=function(e){return e===uw||e===tw?new ew(e):Nde(e)},mv(bC)&&lw!==Object.prototype)){nw=lw.then,_w||(fy(lw,`then`,(function(e,t){var n=this;return new uw((function(e,t){Rv(nw,n,e,t)})).then(e,t)}),{unsafe:!0}),fy(lw,`catch`,dw.catch,{unsafe:!0}));try{delete lw.constructor}catch{}Qb&&Qb(lw,dw)}rb({global:!0,wrap:!0,forced:vw},{Promise:uw}),Zb(uw,sw,!1),SC(sw),tw=hv(sw),rb({target:sw,stat:!0,forced:vw},{reject:function(e){var t=hw(this);return Rv(t.reject,void 0,e),t.promise}}),rb({target:sw,stat:!0,forced:vw},{resolve:function(e){return function(e,t){if(Iv(e),Mv(t)&&t.constructor===e)return t;var n=iw.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),rb({target:sw,stat:!0,forced:Fde},{all:function(e){var t=this,n=hw(t),r=n.resolve,i=n.reject,a=aw((function(){var n=Hv(t.resolve),a=[],o=0,s=1;Qx(e,(function(e){var c=o++,l=!1;s++,Rv(n,t,e).then((function(e){l||(l=!0,a[c]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=hw(t),r=n.reject,i=aw((function(){var i=Hv(t.resolve);Qx(e,(function(e){Rv(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Ew=lx.UNSUPPORTED_Y,Rde=Math.min,Dw=[].push,zde=W(/./.exec),Ow=W(Dw),kw=W(``.slice);function Aw(e){Promise.resolve().then(e)}function jw(e,t){return N.isElement(e)?function(e,t){var n=e.type,r=n===void 0?``:n,i=e.children,a=i===void 0?[]:i,o=P.isVoid(t,e),s=``;o||(s=a.map((function(e){return jw(e,t)})).join(``));var c=function(e){return hC[e]||yde}(r)(e,s,t),l=``;if(l=typeof c==`string`?c:c.html||``,o||mC.forEach((function(t){return l=t(e,l)})),typeof c==`string`)return l;var u=c.prefix,d=u===void 0?``:u,f=c.suffix,p=f===void 0?``:f;return d&&(l=d+l),p&&(l+=p),l}(e,t):function(e,t){var n=e.text;if(n==null)throw Error(`Current node is not slate Text `+JSON.stringify(e));var r=n;r=function(e){return e.replace(/ {2}/g,` &nbsp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/®/g,`&reg;`).replace(/©/g,`&copy;`).replace(/™/g,`&trade;`)}(r);var i=G.getParentsNodes(t,e).some((function(e){return G.getNodeType(e)===`pre`}));if(i||(r=r.replace(/\r\n|\r|\n/g,`<br>`)),i&&(r=r.replace(/&nbsp;/g,` `)),r===``){var a=G.getParentNode(null,e);if(!a||a.children.length!==0)return r;r=`<br>`}return mC.forEach((function(t){return r=t(e,r)})),r}(e,t)}function Mw(e){return`w-e-element-`+e}wx(`split`,(function(e,t,n){var r;return r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r=lb(uv(this)),i=n===void 0?4294967295:n>>>0;if(i===0)return[];if(e===void 0)return[r];if(!wb(e))return Rv(t,r,e,i);for(var a,o,s,c=[],l=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),u=0,d=new RegExp(e.source,l+`g`);(a=Rv(vx,d,r))&&!((o=d.lastIndex)>u&&(Ow(c,kw(r,u,a.index)),a.length>1&&a.index<r.length&&Sx(Dw,c,Ux(a,1)),s=a[0].length,u=o,c.length>=i));)d.lastIndex===a.index&&d.lastIndex++;return u===r.length?!s&&zde(d,``)||Ow(c,``):Ow(c,kw(r,u)),c.length>i?Ux(c,0,i):c}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:Rv(t,this,e,n)}:t,[function(t,n){var i=uv(this),a=t==null?void 0:Uv(t,e);return a?Rv(a,t,i,n):Rv(r,lb(i),t,n)},function(e,i){var a=Iv(this),o=lb(e),s=n(r,a,o,i,r!==t);if(s.done)return s.value;var c=CC(a,RegExp),l=a.unicode,u=(a.ignoreCase?`i`:``)+(a.multiline?`m`:``)+(a.unicode?`u`:``)+(Ew?`g`:`y`),d=new c(Ew?`^(?:`+a.source+`)`:a,u),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o.length===0)return Ox(d,o)===null?[o]:[];for(var p=0,m=0,h=[];m<o.length;){d.lastIndex=Ew?0:m;var g,_=Ox(d,Ew?kw(o,m):o);if(_===null||(g=Rde(wy(d.lastIndex+(Ew?m:0)),o.length))===p)m=Tx(o,m,l);else{if(Ow(h,kw(o,p,m)),h.length===f)return h;for(var v=1;v<=_.length-1;v++)if(Ow(h,_[v]),h.length===f)return h;m=p=g}}return Ow(h,kw(o,p)),h}]}),!!Sv((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`})),Ew);var Nw=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Pw=function(e,t,n){var r=G.toDOMRange(e,t).getBoundingClientRect(),i=G.toDOMRange(e,n).getBoundingClientRect();return Nw(r,i)&&Nw(i,r)},Fw=[`span`,`b`,`strong`,`i`,`em`,`s`,`strike`,`u`,`font`,`sub`,`sup`],Iw=[],Lw=[],Rw={},Bde=Kv.f,Vde=$y.f,Hde=cy.enforce,Ude=Ov(`match`),zw=U.RegExp,Bw=zw.prototype,Wde=U.SyntaxError,Gde=W(ub),Kde=W(Bw.exec),Vw=W(``.charAt),Hw=W(``.replace),Uw=W(``.indexOf),Ww=W(``.slice),Gw=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Kw=/a/g,qw=/a/g,qde=new zw(Kw)!==Kw,Jw=lx.MISSED_STICKY,Jde=lx.UNSUPPORTED_Y;if(nb(`RegExp`,jv&&(!qde||Jw||ux||dx||Sv((function(){return qw[Ude]=!1,zw(Kw)!=Kw||zw(qw)==qw||zw(Kw,`i`)!=`/a/i`}))))){for(var Yw=function(e,t){var n,r,i,a,o,s,c=zv(Bw,this),l=wb(e),u=t===void 0,d=[],f=e;if(!c&&l&&u&&e.constructor===Yw)return e;if((l||zv(Bw,e))&&(e=e.source,u&&(t=`flags`in f?f.flags:Gde(f))),e=e===void 0?``:lb(e),t=t===void 0?``:lb(t),f=e,ux&&`dotAll`in Kw&&(r=!!t&&Uw(t,`s`)>-1)&&(t=Hw(t,/s/g,``)),n=t,Jw&&`sticky`in Kw&&(i=!!t&&Uw(t,`y`)>-1)&&Jde&&(t=Hw(t,/y/g,``)),dx&&(a=function(e){for(var t,n=e.length,r=0,i=``,a=[],o={},s=!1,c=!1,l=0,u=``;r<=n;r++){if((t=Vw(e,r))===`\\`)t+=Vw(e,++r);else if(t===`]`)s=!1;else if(!s)switch(!0){case t===`[`:s=!0;break;case t===`(`:Kde(Gw,Ww(e,r+1))&&(r+=2,c=!0),i+=t,l++;continue;case t===`>`&&c:if(u===``||fv(o,u))throw new Wde(`Invalid capture group name`);o[u]=!0,a[a.length]=[u,l],c=!1,u=``;continue}c?u+=t:i+=t}return[i,a]}(e),e=a[0],d=a[1]),o=eS(zw(e,t),c?this:Bw,Yw),(r||i||d.length)&&(s=Hde(o),r&&(s.dotAll=!0,s.raw=Yw(function(e){for(var t,n=e.length,r=0,i=``,a=!1;r<=n;r++)(t=Vw(e,r))===`\\`?i+=t+Vw(e,++r):a||t!==`.`?(t===`[`?a=!0:t===`]`&&(a=!1),i+=t):i+=`[\\s\\S]`;return i}(e),n)),i&&(s.sticky=!0),d.length&&(s.groups=d)),e!==f)try{Jv(o,`source`,f===``?`(?:)`:f)}catch{}return o},Yde=function(e){e in Yw||Bde(Yw,e,{configurable:!0,get:function(){return zw[e]},set:function(t){zw[e]=t}})},Xw=Vde(zw),Zw=0;Xw.length>Zw;)Yde(Xw[Zw++]);Bw.constructor=Yw,Yw.prototype=Bw,fy(U,`RegExp`,Yw)}SC(`RegExp`);var Xde=RegExp(`\xA0`,`g`);function Qw(e){return e.replace(Xde,` `)}function $w(e,t){var n=e.length;if(n){var r=e[n-1];if(R.isText(r)){var i=Object.keys(r);if(i.length===1&&i[0]===`text`)return r.text+=t,!0}}return!1}function Zde(e,t,n){return{type:`paragraph`,children:[{text:B(e).text().replace(/\s+/gm,` `)}]}}function eT(e,t){var n=function(e,t){var n=[];if(e.attr(`data-w-e-is-void`)!=null)return n;var r=e[0].childNodes;return r.length===1&&r[0].nodeName===`BR`?(n.push({text:``}),n):(r.forEach((function(e){if(e.nodeType!==KS.ELEMENT_NODE){if(e.nodeType===KS.TEXT_NODE){var r=e.textContent||``;if(r.trim()===``&&r.indexOf(`
21
+ `)>=0)return;r&&(r=Qw(r),$w(n,r)||n.push({text:r}))}}else{if(e.nodeName===`BR`)return void($w(n,`
22
+ `)||n.push({text:`
23
+ `}));var i=nT(B(e),t);Array.isArray(i)?i.forEach((function(e){return n.push(e)})):n.push(i)}})),n)}(e,t),r=function(e){for(var t in Rw)if(e[0].matches(t))return Rw[t];return Zde}(e)(e[0],n,t);return Array.isArray(r)||(r=[r]),r.forEach((function(r){P.isVoid(t,r)||(n.length===0&&(r.children=[{text:e.text().replace(/\s+/gm,` `)}]),Lw.forEach((function(n){r=n(e[0],r,t)})))})),r}function tT(e,t){e.parents(`pre`).length===0&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm,` `).replace(/<br>/g,`
24
+ `));var n=e[0].textContent||``;n=function(e){return e.replace(/&nbsp;/g,` `).replace(/&lt;/g,`<`).replace(/&gt;/g,`>`).replace(/&reg;/g,`®`).replace(/&copy;/g,`©`).replace(/&trade;/g,`™`).replace(/&quot;/g,`"`)}(n);var r={text:n=Qw(n)};return Lw.forEach((function(n){r=n(e[0],r,t)})),r}function nT(e,t){Iw.forEach((function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=B(r(e[0])))}));var n=nC(e);return n===`span`?e.attr(`data-w-e-type`)?eT(e,t):tT(e,t):n===`code`?nC(e.parent())===`pre`?eT(e,t):tT(e,t):Fw.includes(n)?tT(e,t):eT(e,t)}function rT(e,t,n){var r=B(n);return!!r.attr(t)||(r.attr(t,`true`),e.on(`destroyed`,(function(){r.removeAttr(t)})),!1)}function iT(e,t){t===void 0&&(t=``);var n=[];t===``&&(t=`<p><br></p>`),t.indexOf(`<`)!==0&&(t=t.split(/\n/).map((function(e){return`<p>`+e+`</p>`})).join(``));var r=B(`<div>`+t+`</div>`);return Array.from(r.children()).forEach((function(t){var r=nT(B(t),e);Array.isArray(r)?r.forEach((function(e){return n.push(e)})):n.push(r)})),n}var Qde=Kv.f,aT=Yx.fastKey,oT=cy.set,sT=cy.getterFor;tS(`Set`,(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),{getConstructor:function(e,t,n,r){var i=e((function(e,i){$x(e,a),oT(e,{type:t,index:bb(null),first:void 0,last:void 0,size:0}),jv||(e.size=0),i!=null&&Qx(i,e[r],{that:e,AS_ENTRIES:n})})),a=i.prototype,o=sT(t),s=function(e,t,n){var r,i,a=o(e),s=c(e,t);return s?s.value=n:(a.last=s={index:i=aT(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||=s,r&&(r.next=s),jv?a.size++:e.size++,i!==`F`&&(a.index[i]=s)),e},c=function(e,t){var n,r=o(e),i=aT(t);if(i!==`F`)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Hx(a,{clear:function(){for(var e=o(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&=n.previous.next=void 0,delete t[n.index],n=n.next;e.first=e.last=void 0,jv?e.size=0:this.size=0},delete:function(e){var t=this,n=o(t),r=c(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),jv?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=o(this),r=by(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Hx(a,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,e===0?0:e,t)}}:{add:function(e){return s(this,e=e===0?0:e,e)}}),jv&&Qde(a,`size`,{get:function(){return o(this).size}}),i},setStrong:function(e,t,n){var r=t+` Iterator`,i=sT(t),a=sT(r);nx(e,t,(function(e,t){oT(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?t==`keys`?{value:n.key,done:!1}:t==`values`?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?`entries`:`values`,!n,!0),SC(t)}});var cT=new Set([`doctype`,`!doctype`,`meta`,`script`,`style`,`link`,`frame`,`iframe`,`title`,`svg`]);function lT(e,t){e.isInline(t)?(e.insertNode(t),t.type===`link`&&e.insertFragment([{text:``}])):z.insertNodes(e,t,{mode:`highest`})}var $de=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(e){var n=t.selection;if(n){var r=Rx(L.edges(n),2),i=r[0],a=r[1],o=P.void(t,{at:i.path}),s=P.void(t,{at:a.path});if(!L.isCollapsed(n)||o){var c=G.toDOMRange(t,n),l=c.cloneContents(),u=l.childNodes[0];if(l.childNodes.forEach((function(e){e.textContent&&e.textContent.trim()!==``&&(u=e)})),s){var d=Rx(s,1)[0],f=c.cloneRange(),p=G.toDOMNode(t,d);f.setEndAfter(p),l=f.cloneContents()}if(o&&(u=l.querySelector(`[data-slate-spacer]`)),Array.from(l.querySelectorAll(`[data-slate-zero-width]`)).forEach((function(e){e.textContent=e.getAttribute(`data-slate-zero-width`)===`n`?`
25
+ `:``})),QS(u)){var m=u.ownerDocument.createElement(`span`);m.style.whiteSpace=`pre`,m.appendChild(u),l.appendChild(m),u=m}var h=t.getFragment(),g=JSON.stringify(h),_=window.btoa(encodeURIComponent(g));u.setAttribute(`data-slate-fragment`,_),e.setData(`application/x-slate-fragment`,_);var v=l.ownerDocument.createElement(`div`);return v.appendChild(l),v.setAttribute(`hidden`,`true`),l.ownerDocument.body.appendChild(v),e.setData(`text/html`,v.innerHTML),e.setData(`text/plain`,lde(v)),l.ownerDocument.body.removeChild(v),e}}},t.insertData=function(e){var r,i,a=e.getData(`application/x-slate-fragment`);if(a){var o=decodeURIComponent(window.atob(a)),s=JSON.parse(o);t.insertFragment(s)}else{var c=e.getData(`text/plain`),l=e.getData(`text/html`);if(l)t.dangerouslyInsertHtml(l);else if(c){var u=c.split(/\r\n|\r|\n/),d=!1;try{for(var f=Lx(u),p=f.next();!p.done;p=f.next()){var m=p.value;d&&z.splitNodes(t,{always:!0}),n(m),d=!0}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}}},t},uT=function(e){return e!=null},efe={object:!0,function:!0,undefined:!0},tfe=/^\s*class[\s{/}]/,nfe=Function.prototype.toString,dT=function(e){return!!function(e){if(typeof e!=`function`||!hasOwnProperty.call(e,`length`))return!1;try{if(typeof e.length!=`number`||typeof e.call!=`function`||typeof e.apply!=`function`)return!1}catch{return!1}return!function(e){if(!function(e){return!!uT(e)&&hasOwnProperty.call(efe,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch{return!1}}(e)}(e)&&!tfe.test(nfe.call(e))},fT=function(e){return e!=null},rfe=Object.keys,ife=function(){try{return!0}catch{return!1}}()?Object.keys:function(e){return rfe(fT(e)?Object(e):e)},afe=function(e){if(!fT(e))throw TypeError(`Cannot use null or undefined`);return e},ofe=Math.max,pT=function(){var e,t=Object.assign;return typeof t==`function`&&(t(e={foo:`raz`},{bar:`dwa`},{trzy:`trzy`}),e.foo+e.bar+e.trzy===`razdwatrzy`)}()?Object.assign:function(e,t){var n,r,i,a=ofe(arguments.length,2);for(e=Object(afe(e)),i=function(r){try{e[r]=t[r]}catch(e){n||=e}},r=1;r<a;++r)ife(t=arguments[r]).forEach(i);if(n!==void 0)throw n;return e},sfe=Array.prototype.forEach,mT=Object.create,hT=function(e,t){for(var n in e)t[n]=e[n]},gT=function(e){var t=mT(null);return sfe.call(arguments,(function(e){fT(e)&&hT(Object(e),t)})),t},_T=`razdwatrzy`,vT=String.prototype.indexOf,yT=typeof _T.contains==`function`&&!0===_T.contains(`dwa`)&&!1===_T.contains(`foo`)?String.prototype.contains:function(e){return vT.call(this,e,arguments[1])>-1},bT=ev((function(e){var t=e.exports=function(e,t){var n,r,i,a,o;return arguments.length<2||typeof e!=`string`?(a=t,t=e,e=null):a=arguments[2],uT(e)?(n=yT.call(e,`c`),r=yT.call(e,`e`),i=yT.call(e,`w`)):(n=i=!0,r=!1),o={value:t,configurable:n,enumerable:r,writable:i},a?pT(gT(a),o):o};t.gs=function(e,t,n){var r,i,a,o;return typeof e==`string`?a=arguments[3]:(a=n,n=t,t=e,e=null),uT(t)?dT(t)?uT(n)?dT(n)||(a=n,n=void 0):n=void 0:(a=t,t=n=void 0):t=void 0,uT(e)?(r=yT.call(e,`c`),i=yT.call(e,`e`)):(r=!0,i=!1),o={get:t,set:n,configurable:r,enumerable:i},a?pT(gT(a),o):o}})),xT=function(e){if(typeof e!=`function`)throw TypeError(e+` is not a function`);return e},ST=ev((function(e,t){var n,r,i,a,o,s,c,l=Function.prototype.apply,u=Function.prototype.call,d=Object.create,f=Object.defineProperty,p=Object.defineProperties,m=Object.prototype.hasOwnProperty,h={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return xT(t),m.call(this,`__ee__`)?n=this.__ee__:(n=h.value=d(null),f(this,`__ee__`,h),h.value=null),n[e]?typeof n[e]==`object`?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,a;return xT(t),a=this,n.call(this,e,r=function(){i.call(a,e,r),l.call(t,this,arguments)}),r.__eeOnceListener__=t,this},i=function(e,t){var n,r,i,a;if(xT(t),!m.call(this,`__ee__`)||!(n=this.__ee__)[e])return this;if(typeof(r=n[e])==`object`)for(a=0;i=r[a];++a)i!==t&&i.__eeOnceListener__!==t||(r.length===2?n[e]=r[a?0:1]:r.splice(a,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},a=function(e){var t,n,r,i,a;if(m.call(this,`__ee__`)&&(i=this.__ee__[e]))if(typeof i==`object`){for(n=arguments.length,a=Array(n-1),t=1;t<n;++t)a[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)l.call(r,this,a)}else switch(arguments.length){case 1:u.call(i,this);break;case 2:u.call(i,this,arguments[1]);break;case 3:u.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,a=Array(n-1),t=1;t<n;++t)a[t-1]=arguments[t];l.call(i,this,a)}},o={on:n,once:r,off:i,emit:a},s={on:bT(n),once:bT(r),off:bT(i),emit:bT(a)},c=p({},s),e.exports=t=function(e){return e==null?d(c):p(Object(e),s)},t.methods=o}));function CT(e){var t=US.get(e);return t??(t=ST(),US.set(e,t)),t}var wT=new WeakMap;function TT(e,t){var n=wT.get(e);n??(n=new Set,wT.set(e,n)),n.add(t)}function ET(e){return wT.get(e)||new Set}function DT(e){wT.set(e,new Set)}function OT(e){var t=G.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),i=t.offset();return{top:i.top,left:i.left,width:n,height:r}}function kT(e){var t={top:`0`,left:`0`},n=e.selection;if(n==null)return t;var r=OT(e);if(r==null)return t;var i=r.top,a=r.left,o=r.width,s=r.height,c=G.toDOMRange(e,n).getClientRects()[0];if(c==null)return t;c.width;var l=c.height,u={},d=c.top-i,f=c.left-a;if(f>o/2?u.right=o-f+5+`px`:u.left=f+5+`px`,d>s/2)u.bottom=s-d+5+`px`;else{var p=d+l;p<0&&(p=0),u.top=p+5+`px`}return u}function AT(e,t,n){n===void 0&&(n=`modal`);var r={top:`0`,left:`0`};if(e.selection==null)return r;var i=N.isElement(t)&&e.isVoid(t),a=N.isElement(t)&&e.isInline(t),o=RS.get(t);if(o==null)return r;var s=o.getBoundingClientRect(),c=s.top,l=s.left,u=s.height,d=s.width;if(i){var f=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(r==null||++n>1e4)break;var i=r.nodeName;if(r.nodeType===1){var a=i.toLowerCase();if(sde.includes(a)||a===`iframe`||a===`video`)return r;var o=r.children||[],s=o.length;if(s)for(var c=s-1;c>=0;c--)t.push(o[c])}}return null}(o);if(f!=null){var p=f.getBoundingClientRect();c=p.top,u=p.height}}var m=OT(e);if(m==null)return r;var h,g=m.top,_=m.left,v=m.width,y=m.height,b={},x=c-g,S=l-_;if(n===`bar`)return b.left=S+`px`,x>40?b.bottom=y-x+5+`px`:b.top=x+u+5+`px`,b;if(n===`modal`)return i?a?S>(v-d)/2?b.right=v-S+5+`px`:b.left=S+d+5+`px`:b.left=`20px`:b.left=S+`px`,i?((h=x)<0&&(h=0),b.top=h+`px`):x>(y-u)/2?b.bottom=y-x+5+`px`:((h=x+u)<0&&(h=0),b.top=h+5+`px`),b;throw Error(`type '`+n+`' is invalid`)}function jT(e,t){Aw((function(){var n=OT(e);if(n!=null){var r,i=n.top,a=n.left,o=n.width,s=n.height,c=t.offset(),l=c.top,u=c.left,d=t.width(),f=t.height(),p=l-i,m=u-a,h=t.attr(`style`);if(h.indexOf(`top`)>=0&&(r=p+f-s)>0){var g=t.css(`top`),_=parseInt(g.toString())-r;_<0&&(_=0),t.css(`top`,_+`px`)}if(h.indexOf(`bottom`)>=0&&l<0){var v=t.css(`bottom`),y=parseInt(v.toString())-Math.abs(l);t.css(`bottom`,y+`px`)}if(h.indexOf(`left`)>=0&&(r=m+d-o)>0){var b=t.css(`left`),x=parseInt(b.toString())-r;x<0&&(x=0),t.css(`left`,x+`px`)}if(h.indexOf(`right`)>=0&&u<0){var S=t.css(`right`),C=parseInt(S.toString())-Math.abs(u);t.css(`right`,C+`px`)}}}))}var cfe=ox(`slice`),lfe=Ov(`species`),MT=U.Array,ufe=Math.max;rb({target:`Array`,proto:!0,forced:!cfe},{slice:function(e,t){var n,r,i,a=Wy(this),o=Ty(a),s=qy(e,o),c=qy(t===void 0?o:t,o);if(Ey(a)&&(n=a.constructor,(jy(n)&&(n===MT||Ey(n.prototype))||Mv(n)&&(n=n[lfe])===null)&&(n=void 0),n===MT||n===void 0))return wC(a,s,c);for(r=new(n===void 0?MT:n)(ufe(c-s,0)),i=0;s<c;s++,i++)s in a&&Ab(r,i,a[s]);return r.length=i,r}});var dfe=Ky.f,NT=W(``.startsWith),ffe=W(``.slice),pfe=Math.min,PT=Eb(`startsWith`);rb({target:`String`,proto:!0,forced:!(!PT&&function(){var e=dfe(String.prototype,`startsWith`);return e&&!e.writable}())&&!PT},{startsWith:function(e){var t=lb(uv(this));Tb(e);var n=wy(pfe(arguments.length>1?arguments[1]:void 0,t.length)),r=lb(e);return NT?NT(t,r,n):ffe(t,n,n+r.length)===r}});var FT=Object.assign,IT=Object.defineProperty,mfe=W([].concat),LT=!FT||Sv((function(){if(jv&&FT({b:1},FT(IT({},`a`,{enumerable:!0,get:function(){IT(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r=`abcdefghijklmnopqrst`;return e[n]=7,r.split(``).forEach((function(e){t[e]=e})),FT({},e)[n]!=7||ib(FT({},t)).join(``)!=r}))?function(e,t){for(var n=dv(e),r=arguments.length,i=1,a=eb.f,o=Uy.f;r>i;)for(var s,c=Sy(arguments[i++]),l=a?mfe(ib(c),a(c)):ib(c),u=l.length,d=0;u>d;)s=l[d++],jv&&!Rv(o,c,s)||(n[s]=c[s]);return n}:FT;rb({target:`Object`,stat:!0,forced:Object.assign!==LT},{assign:LT});var hfe=[`props`,`attrs`,`style`,`dataset`,`on`,`hook`];function RT(e){var t=e.data,n=t===void 0?{}:t,r=e.children,i=r===void 0?[]:r;Object.keys(n).forEach((function(t){var r,i,a=n[t];if(t!==`key`){if(!hfe.includes(t)){if(t.startsWith(`data-`)){var o=t.slice(5);o=Sh(o),function(e,t){e.data??={};var n=e.data;n.dataset??={},Object.assign(n.dataset,t)}(e,((r={})[o]=a,r)),delete n[t];return}(function(e,t){e.data??={};var n=e.data;n.props??={},Object.assign(n.props,t)})(e,(i={},i[t]=a,i)),delete n[t]}}else e.key=a})),i.length>0&&i.forEach((function(e){typeof e!=`string`&&RT(e)}))}var zT=[],BT={};function gfe(e,t,n){return V(n.isInline(e)?`span`:`div`,null,t)}function VT(e,t){return t===void 0&&(t=!1),V(`span`,{"data-slate-string":!0},t?e+`
26
+ `:e)}function HT(e,t){return e===void 0&&(e=0),t===void 0&&(t=!1),V(`span`,{"data-slate-zero-width":t?`n`:`z`,"data-slate-length":e},``,t?V(`br`,null):null)}function UT(e,t,n,r){return NS.set(e,t),PS.set(e,n),N.isElement(e)?function(e,t){var n,r=G.findKey(t,e),i=t.isInline(e),a=P.isVoid(t,e),o=Mw(r.id),s={id:o,key:r.id,"data-slate-node":`element`,"data-slate-inline":i},c=e.type,l=e.children,u=l===void 0?[]:l,d=function(e){return BT[e]||gfe}(c);n=a?null:u.map((function(n,r){return UT(n,r,e,t)}));var f=d(e,n,t);if(a){s[`data-slate-void`]=!0;var p=i?`span`:`div`,m=Rx(Rx(F.texts(e),1)[0],1)[0],h=V(p,{"data-slate-spacer":!0,style:{height:`0`,color:`transparent`,outline:`none`,position:`absolute`}},UT(m,0,e,t));f=V(p,{style:{position:`relative`}},f,h),NS.set(m,0),PS.set(m,e)}return f.data??={},Object.assign(f.data,s),a||i||(f=function(e,t){var n=t;return zT.forEach((function(r){n=r(e,t)})),n}(e,f)),Aw((function(){var t=$S(o);t!=null&&(LS.set(r,t),RS.set(e,t),IS.set(t,e))})),f}(e,r):function(e,t,n){if(e.text==null)throw Error(`Current node is not slate Text `+JSON.stringify(e));var r=G.findKey(n,e),i=n.getConfig().decorate;if(i==null)throw Error(`Can not get config.decorate`);var a=i([e,G.findPath(n,e)]),o=R.decorations(e,a),s=o.map((function(r,i){var a=function(e,t,n,r,i){t===void 0&&(t=!1);var a=e.text,o=G.findPath(i,n),s=I.parent(o);if(P.isEditor(r))throw Error(`Text node `+JSON.stringify(n)+` parent is Editor`);return i.isVoid(r)?HT(F.string(r).length):a!==``||r.children[r.children.length-1]!==n||i.isInline(r)||P.string(i,s)!==``?a===``?HT():t&&a.slice(-1)===`
27
+ `?VT(a,!0):VT(a):HT(0,!0)}(r,i===o.length-1,e,t,n);return a=function(e,t){var n=t;return zT.forEach((function(t){n=t(e,n)})),n}(r,a),V(`span`,{"data-slate-leaf":!0},a)})),c=function(e){return`w-e-text-`+e}(r.id),l=V(`span`,{"data-slate-node":`text`,id:c,key:r.id},s);return Aw((function(){var t=$S(c);t!=null&&(LS.set(r,t),RS.set(e,t),IS.set(t,e))})),l}(e,n,r)}function _fe(e,t){var n,r=e.$scroll,i=function(e){return`w-e-textarea-`+e}(e.id),a=t.getConfig(),o=a.readOnly,s=a.autoFocus,c=function(e,t){return t===void 0&&(t=!1),gm(`div#`+e,{props:{contentEditable:!t}})}(i,o);c.children=(t.children||[]).map((function(e,n){var r=UT(e,n,t,t);return RT(r),r}));var l=AS.get(e);if(l??=!0,l){var u=function(e,t){return B(`<div
28
+ id="`+e+`"
29
+ data-slate-editor
30
+ data-slate-node="value"
31
+ suppressContentEditableWarning
32
+ role="textarea"
33
+ spellCheck="true"
34
+ autoCorrect="true"
35
+ autoCapitalize="true"
36
+ ></div>`)}(i);r.append(u),e.$textArea=u,n=u[0],(f=kse([jse,wm,km,Mse,Pse,Ase]))(n,c),AS.set(e,!1),jS.set(e,f)}else{var d=MS.get(e),f=jS.get(e);if(d==null||f==null)return;n=d.elm,f(d,c)}if(n!=null||(n=$S(i))!=null){if((l?s:t.isFocused())&&n.focus({preventScroll:!0}),l){var p=JS(n);p&&BS.set(t,p)}FS.set(t,n),RS.set(t,n),IS.set(n,t),MS.set(e,c)}}function WT(e){return typeof e==`object`&&!!e&&e.nodeType===1}function GT(e,t){return(!t||e!==`hidden`)&&e!==`visible`&&e!==`clip`}function KT(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return GT(n.overflowY,t)||GT(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch{return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function qT(e,t,n,r,i,a,o,s){return a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0}function JT(e,t){var n=window,r=t.scrollMode,i=t.block,a=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,c=typeof o==`function`?o:function(e){return e!==o};if(!WT(e))throw TypeError(`Invalid target`);for(var l=document.scrollingElement||document.documentElement,u=[],d=e;WT(d)&&c(d);){if((d=d.parentElement)===l){u.push(d);break}d!=null&&d===document.body&&KT(d)&&!KT(document.documentElement)||d!=null&&KT(d,s)&&u.push(d)}for(var f=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),_=g.height,v=g.width,y=g.top,b=g.right,x=g.bottom,S=g.left,C=i===`start`||i===`nearest`?y:i===`end`?x:y+_/2,w=a===`center`?S+v/2:a===`end`?b:S,T=[],E=0;E<u.length;E++){var D=u[E],O=D.getBoundingClientRect(),ee=O.height,k=O.width,te=O.top,A=O.right,ne=O.bottom,re=O.left;if(r===`if-needed`&&y>=0&&S>=0&&x<=p&&b<=f&&y>=te&&x<=ne&&S>=re&&b<=A)return T;var ie=getComputedStyle(D),ae=parseInt(ie.borderLeftWidth,10),oe=parseInt(ie.borderTopWidth,10),se=parseInt(ie.borderRightWidth,10),ce=parseInt(ie.borderBottomWidth,10),le=0,ue=0,de=`offsetWidth`in D?D.offsetWidth-D.clientWidth-ae-se:0,fe=`offsetHeight`in D?D.offsetHeight-D.clientHeight-oe-ce:0;if(l===D)le=i===`start`?C:i===`end`?C-p:i===`nearest`?qT(h,h+p,p,oe,ce,h+C,h+C+_,_):C-p/2,ue=a===`start`?w:a===`center`?w-f/2:a===`end`?w-f:qT(m,m+f,f,ae,se,m+w,m+w+v,v),le=Math.max(0,le+h),ue=Math.max(0,ue+m);else{le=i===`start`?C-te-oe:i===`end`?C-ne+ce+fe:i===`nearest`?qT(te,ne,ee,oe,ce+fe,C,C+_,_):C-(te+ee/2)+fe/2,ue=a===`start`?w-re-ae:a===`center`?w-(re+k/2)+de/2:a===`end`?w-A+se+de:qT(re,A,k,ae,se+de,w,w+v,v);var pe=D.scrollLeft,me=D.scrollTop;C+=me-(le=Math.max(0,Math.min(me+le,D.scrollHeight-ee+fe))),w+=pe-(ue=Math.max(0,Math.min(pe+ue,D.scrollWidth-k+de)))}T.push({el:D,top:le,left:ue})}return T}function YT(e){return e===Object(e)&&Object.keys(e).length!==0}function XT(e,t){return XS(t)&&G.hasDOMNode(e,t,{editable:!0})}function ZT(e,t){if(e.getConfig().readOnly)return!1;var n=QT(e,t)&&G.toSlateNode(e,t);return P.isVoid(e,n)}function QT(e,t){return XS(t)&&G.hasDOMNode(e,t)}function $T(e,t,n){n===void 0&&(n=!1);var r=t.selection,i=t.getConfig(),a=G.findDocumentOrShadowRoot(t).getSelection();if(a&&(!e.isComposing||n)&&t.isFocused()){var o=a.type!==`None`;if(r||o){var s=FS.get(t),c=!1;if(s.contains(a.anchorNode)&&s.contains(a.focusNode)&&(c=!0),o&&c&&r){var l=G.toSlateRange(t,a,{exactMatch:!0,suppressThrow:!0});if(l&&L.equals(l,r)){var u=!0;if(L.isCollapsed(r)){var d=a.anchorNode,f=a.anchorOffset;if(d===s){var p=s.childNodes,m=void 0;(m=p[f])&&m.matches(`table`)&&(u=!1),(m=p[f-1])&&m.matches(`table`)&&(u=!1)}}if(u)return}}if(!r||G.hasRange(t,r)){e.isUpdatingSelection=!0;var h=r&&G.toDOMRange(t,r);if(h){L.isBackward(r)?a.setBaseAndExtent(h.endContainer,h.endOffset,h.startContainer,h.startOffset):a.setBaseAndExtent(h.startContainer,h.startOffset,h.endContainer,h.endOffset);var g=h.startContainer.parentElement;if(!g.closest(`[data-slate-spacer]`)){g.getBoundingClientRect=h.getBoundingClientRect.bind(h);var _=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(YT(t)&&typeof t.behavior==`function`)return t.behavior(n?[]:JT(e,t));if(!n){var r=function(e){return!1===e?{block:`end`,inline:`nearest`}:YT(e)?e:{block:`start`,inline:`nearest`}}(t);(function(e,t){t===void 0&&(t=`auto`);var n=`scrollBehavior`in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,a=e.left;r.scroll&&n?r.scroll({top:i,left:a,behavior:t}):(r.scrollTop=i,r.scrollLeft=a)}))})(JT(e,r),r.behavior)}})(g,{scrollMode:`if-needed`,boundary:i.scroll?s.parentElement:_,block:`end`,behavior:`smooth`}),delete g.getBoundingClientRect}}else a.removeAllRanges();setTimeout((function(){h&&iC&&s.focus(),e.isUpdatingSelection=!1}))}else t.selection=G.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!1})}}}var eE=new WeakMap,tE=new WeakMap,vfe={bold:`mod+b`,compose:[`down`,`left`,`right`,`up`,`backspace`,`enter`],moveBackward:`left`,moveForward:`right`,moveWordBackward:`ctrl+left`,moveWordForward:`ctrl+right`,deleteBackward:`shift?+backspace`,deleteForward:`shift?+delete`,extendBackward:`shift+left`,extendForward:`shift+right`,italic:`mod+i`,splitBlock:`shift?+enter`,undo:`mod+z`,tab:`tab`,selectAll:`mod+a`},yfe={moveLineBackward:`opt+up`,moveLineForward:`opt+down`,moveWordBackward:`opt+left`,moveWordForward:`opt+right`,deleteBackward:[`ctrl+backspace`,`ctrl+h`],deleteForward:[`ctrl+delete`,`ctrl+d`],deleteLineBackward:`cmd+shift?+backspace`,deleteLineForward:[`cmd+shift?+delete`,`ctrl+k`],deleteWordBackward:`opt+shift?+backspace`,deleteWordForward:`opt+shift?+delete`,extendLineBackward:`opt+shift+up`,extendLineForward:`opt+shift+down`,redo:`cmd+shift+z`,transposeCharacter:`ctrl+t`},bfe={deleteWordBackward:`ctrl+shift?+backspace`,deleteWordForward:`ctrl+shift?+delete`,redo:[`ctrl+y`,`ctrl+shift+z`]},nE=function(e){var t=vfe[e],n=yfe[e],r=bfe[e],i=t&&Mh(t),a=n&&Mh(n),o=r&&Mh(r);return function(e){return!(!i||!i(e))||!!(rC&&a&&a(e))||!(rC||!o||!o(e))}},rE={isBold:nE(`bold`),isCompose:nE(`compose`),isMoveBackward:nE(`moveBackward`),isMoveForward:nE(`moveForward`),isDeleteBackward:nE(`deleteBackward`),isDeleteForward:nE(`deleteForward`),isDeleteLineBackward:nE(`deleteLineBackward`),isDeleteLineForward:nE(`deleteLineForward`),isDeleteWordBackward:nE(`deleteWordBackward`),isDeleteWordForward:nE(`deleteWordForward`),isExtendBackward:nE(`extendBackward`),isExtendForward:nE(`extendForward`),isExtendLineBackward:nE(`extendLineBackward`),isExtendLineForward:nE(`extendLineForward`),isItalic:nE(`italic`),isMoveLineBackward:nE(`moveLineBackward`),isMoveLineForward:nE(`moveLineForward`),isMoveWordBackward:nE(`moveWordBackward`),isMoveWordForward:nE(`moveWordForward`),isRedo:nE(`redo`),isSplitBlock:nE(`splitBlock`),isTransposeCharacter:nE(`transposeCharacter`),isUndo:nE(`undo`),isTab:nE(`tab`),isSelectAll:nE(`selectAll`)};function iE(e){e.preventDefault()}var xfe={beforeinput:function(e,t,n){var r=e,i=n.getConfig().readOnly;if(sC&&!i&&XT(n,r.target)){var a=n.selection,o=r.inputType,s=r.dataTransfer||r.data||void 0;if(o!==`insertCompositionText`&&o!==`deleteCompositionText`){if(r.preventDefault(),!o.startsWith(`delete`)||o.startsWith(`deleteBy`)){var c=Rx(r.getTargetRanges(),1)[0];if(c){var l=G.toSlateRange(n,c,{exactMatch:!1,suppressThrow:!1});a&&L.equals(a,l)||z.select(n,l)}}if(a&&L.isExpanded(a)&&o.startsWith(`delete`)){var u=o.endsWith(`Backward`)?`backward`:`forward`;P.deleteFragment(n,{direction:u})}else switch(o){case`deleteByComposition`:case`deleteByCut`:case`deleteByDrag`:P.deleteFragment(n);break;case`deleteContent`:case`deleteContentForward`:P.deleteForward(n);break;case`deleteContentBackward`:P.deleteBackward(n);break;case`deleteEntireSoftLine`:P.deleteBackward(n,{unit:`line`}),P.deleteForward(n,{unit:`line`});break;case`deleteHardLineBackward`:P.deleteBackward(n,{unit:`block`});break;case`deleteSoftLineBackward`:P.deleteBackward(n,{unit:`line`});break;case`deleteHardLineForward`:P.deleteForward(n,{unit:`block`});break;case`deleteSoftLineForward`:P.deleteForward(n,{unit:`line`});break;case`deleteWordBackward`:P.deleteBackward(n,{unit:`word`});break;case`deleteWordForward`:P.deleteForward(n,{unit:`word`});break;case`insertLineBreak`:case`insertParagraph`:P.insertBreak(n);break;case`insertFromDrop`:case`insertFromPaste`:case`insertFromYank`:case`insertReplacementText`:case`insertText`:if(o===`insertFromPaste`&&!WS.get(n))break;s instanceof DataTransfer?n.insertData(s):typeof s==`string`&&P.insertText(n,s)}}}},blur:function(e,t,n){var r=e,i=t.isUpdatingSelection,a=t.latestElement;if(!n.getConfig().readOnly&&!i&&XT(n,r.target)){var o=G.findDocumentOrShadowRoot(n);if(a!==o.activeElement){var s=r.relatedTarget;if(!(s===G.toDOMNode(n,n)||YS(s)&&s.hasAttribute(`data-slate-spacer`))){if(s!=null&&XS(s)&&G.hasDOMNode(n,s)){var c=G.toSlateNode(n,s);if(N.isElement(c)&&!n.isVoid(c))return}aC&&o.getSelection()?.removeAllRanges(),VS.delete(n)}}}},focus:function(e,t,n){var r=G.toDOMNode(n,n);t.latestElement=G.findDocumentOrShadowRoot(n).activeElement,iC&&e.target!==r?r.focus():VS.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&QT(n,e.target)&&XS(e.target)){var r=G.toSlateNode(n,e.target),i=G.findPath(n,r);if(P.hasPath(n,i)&&F.get(n,i)===r){var a=P.start(n,i),o=P.end(n,i),s=P.void(n,{at:a}),c=P.void(n,{at:o});if(s&&c&&I.equals(s[1],c[1])){var l=P.range(n,a);z.select(n,l)}}}},compositionstart:function(e,t,n){if(XT(n,e.target)){var r=n.selection;if(r&&L.isExpanded(r)&&(P.deleteFragment(n),Promise.resolve().then((function(){$T(t,n,!0)}))),r&&L.isCollapsed(r)){var i=G.toDOMRange(n,r).startContainer,a=i.textContent||``;eE.set(n,a),tE.set(n,i)}t.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&((n=e.$placeholder)==null||n.hide(),e.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(XT(n,r.target)){t.isComposing=!1;var i=n.selection;if(i!=null){(oC||iC)&&G.cleanExposedTexNodeInSelectionBlock(n);for(var a=L.isBackward(i)?i.focus:i.anchor,o=Rx(P.node(n,[a.path[0]]),1)[0],s=0;s<a.path.length;s++){var c=Rx(P.node(n,a.path.slice(0,s+1)),1)[0];if(N.isElement(c)&&((aC||iC)&&c.type===`link`||c.type===`code`)){G.setNewKey(o);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var u=G.getLeftLengthOfMaxLength(n);u<l.length?(G.toDOMRange(n,i).startContainer.textContent=eE.get(n)||``,u>0&&P.insertText(n,l.slice(0,u)),t.changeViewState()):P.insertText(n,l)}else P.insertText(n,l);aC||setTimeout((function(){var e=n.selection;if(e!=null){var t=tE.get(n);t!=null&&G.toDOMRange(n,e).startContainer!==t&&(t.textContent=eE.get(n)||``)}}))}}}},compositionupdate:function(e,t,n){XT(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&XT(n,r.target)){if(function(e,t){var n=CS.get(e),r=n&&n.getMenus(),i=TS.get(e),a=i&&i.getMenus(),o=Ix(Ix({},r),a);for(var s in o){var c=o[s],l=c.hotkey;if(l&&jh(l,t)&&!c.isDisabled(e)){var u=c.getValue(e);c.exec(e,u)}}}(n,r),rE.isTab(r))return iE(r),void n.handleTab();if(rE.isRedo(r))return iE(r),void(typeof n.redo==`function`&&n.redo());if(rE.isUndo(r))return iE(r),void(typeof n.undo==`function`&&n.undo());if(rE.isMoveLineBackward(r))return iE(r),void z.move(n,{unit:`line`,reverse:!0});if(rE.isMoveLineForward(r))return iE(r),void z.move(n,{unit:`line`});if(rE.isExtendLineBackward(r))return iE(r),void z.move(n,{unit:`line`,edge:`focus`,reverse:!0});if(rE.isExtendLineForward(r))return iE(r),void z.move(n,{unit:`line`,edge:`focus`});if(rE.isMoveBackward(r))return iE(r),void(i&&L.isCollapsed(i)?z.move(n,{reverse:!0}):z.collapse(n,{edge:`start`}));if(rE.isMoveForward(r))return iE(r),void(i&&L.isCollapsed(i)?z.move(n):z.collapse(n,{edge:`end`}));if(rE.isMoveWordBackward(r))return iE(r),i&&L.isExpanded(i)&&z.collapse(n,{edge:`focus`}),void z.move(n,{unit:`word`,reverse:!0});if(rE.isMoveWordForward(r))return iE(r),i&&L.isExpanded(i)&&z.collapse(n,{edge:`focus`}),void z.move(n,{unit:`word`});if(rE.isSelectAll(r))return iE(r),void n.selectAll();if(sC){if((oC||aC)&&i&&(rE.isDeleteBackward(r)||rE.isDeleteForward(r))&&L.isCollapsed(i)){var a=F.parent(n,i.anchor.path);if(N.isElement(a)&&P.isVoid(n,a)&&P.isInline(n,a))return r.preventDefault(),void z.delete(n,{unit:`block`})}}else{if(rE.isBold(r)||rE.isItalic(r)||rE.isTransposeCharacter(r))return void iE(r);if(rE.isSplitBlock(r))return iE(r),void P.insertBreak(n);if(rE.isDeleteBackward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`backward`}):P.deleteBackward(n));if(rE.isDeleteForward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`forward`}):P.deleteForward(n));if(rE.isDeleteLineBackward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`backward`}):P.deleteBackward(n,{unit:`line`}));if(rE.isDeleteLineForward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`forward`}):P.deleteForward(n,{unit:`line`}));if(rE.isDeleteWordBackward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`backward`}):P.deleteBackward(n,{unit:`word`}));if(rE.isDeleteWordForward(r))return iE(r),void(i&&L.isExpanded(i)?P.deleteFragment(n,{direction:`forward`}):P.deleteForward(n,{unit:`word`}))}}},keypress:function(e,t,n){if(!sC&&!n.getConfig().readOnly&&XT(n,e.target)){e.preventDefault();var r=e.key;P.insertText(n,r)}},copy:function(e,t,n){var r=e;if(XT(n,r.target)){r.preventDefault();var i=r.clipboardData;i!=null&&n.setFragmentData(i)}},cut:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&XT(n,r.target)){r.preventDefault();var a=r.clipboardData;if(a!=null&&(n.setFragmentData(a),i))if(L.isExpanded(i))P.deleteFragment(n);else{var o=F.parent(n,i.anchor.path);P.isVoid(n,o)&&z.delete(n)}}},paste:function(e,t,n){WS.set(n,!0);var r=e;if(!n.getConfig().readOnly&&XT(n,r.target)){var i=n.getConfig().customPaste;if(i&&!1===i(n,r))return void WS.set(n,!1);if(!sC||function(e){return e.clipboardData&&e.clipboardData.getData(`text/plain`)!==``&&e.clipboardData.types.length===1}(r)){r.preventDefault();var a=r.clipboardData;a!=null&&n.insertData(a)}}},dragover:function(e,t,n){if(QT(n,e.target)){var r=G.toSlateNode(n,e.target);P.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(QT(n,r.target)&&!n.getConfig().readOnly){var i=G.toSlateNode(n,r.target),a=G.findPath(n,i);if(P.isVoid(n,i)||P.void(n,{at:a,voids:!0})){var o=P.range(n,a);z.select(n,o)}var s=r.dataTransfer;s!=null&&(t.isDraggingInternally=!0,n.setFragmentData(s))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&QT(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,i=r.dataTransfer;if(!n.getConfig().readOnly&&QT(n,r.target)&&i!=null&&!(sC&&aC&&i.files.length>0)){r.preventDefault();var a=n.selection,o=G.findEventRange(n,r);z.select(n,o),t.isDraggingInternally&&=(a&&z.delete(n,{at:a}),!1),n.insertData(i),n.isFocused()||n.focus()}}},Sfe=1,Cfe=function(){function e(e){var t=this;this.id=Sfe++,this.$textArea=null,this.$progressBar=B(`<div class="w-e-progress-bar"></div>`),this.$maxLengthInfo=B(`<div class="w-e-max-length-info"></div>`),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=sm((function(){(function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,i=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||i)){var a=G.findDocumentOrShadowRoot(t),o=a.activeElement,s=G.toDOMNode(t,t),c=a.getSelection();if(o===s?(e.latestElement=o,VS.set(t,!0)):VS.delete(t),!c)return z.deselect(t);var l=c.anchorNode,u=c.focusNode,d=XT(t,l)||ZT(t,l),f=XT(t,u)||ZT(t,u);if(d&&f){var p=G.toSlateRange(t,c,{exactMatch:!1,suppressThrow:!1});z.select(t,p)}else z.deselect(t)}})(t,t.editorInstance)}),100);var n=B(e);if(n.length===0)throw Error(`Cannot find textarea DOM by selector '`+e+`'`);this.$box=n;var r=B(`<div class="w-e-text-container"></div>`);r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var i=B(`<div class="w-e-scroll"></div>`);r.append(i),this.$scroll=i,this.$textAreaContainer=r,Aw((function(){var e=t.editorInstance,n=G.getWindow(e);n.document.addEventListener(`selectionchange`,t.onDOMSelectionChange),e.on(`destroyed`,(function(){n.document.removeEventListener(`selectionchange`,t.onDOMSelectionChange)})),r.on(`click`,(function(){return e.hidePanelOrModal()})),e.on(`change`,t.changeViewState.bind(t));var i=e.getConfig().onChange;i&&e.on(`change`,(function(){return i(e)})),t.onFocusAndOnBlur(),e.on(`change`,t.changeMaxLengthInfo.bind(t)),t.bindEvent()}))}return Object.defineProperty(e.prototype,`editorInstance`,{get:function(){var e=xS.get(this);if(e==null)throw Error(`Can not get editor instance`);return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;t!=null&&(nm(xfe,(function(n,i){t.on(i,(function(t){n(t,e,r)}))})),r.getConfig().scroll&&(n.css(`overflow-y`,`auto`),n.on(`scroll`,sm((function(){r.emit(`scroll`)}),100))))},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,i=n.onFocus;this.latestEditorSelection=t.selection,t.on(`change`,(function(){e.latestEditorSelection==null&&t.selection!=null?setTimeout((function(){return i&&i(t)})):e.latestEditorSelection!=null&&t.selection==null&&setTimeout((function(){return r&&r(t)})),e.latestEditorSelection=t.selection}))},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-G.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+`/`+t}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css(`width`,e+`%`),e>=100&&setTimeout((function(){t.hide(),t.css(`width`,`0`),t.show()}),1e3)},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;_fe(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var i=t.isEmpty();if(i&&!e.showPlaceholder&&!e.isComposing){if(e.$placeholder==null){var a=B(`<div class="w-e-text-placeholder">`+r+`</div>`);e.$textAreaContainer.append(a),e.$placeholder=a}e.$placeholder.show(),e.showPlaceholder=!0;return}!i&&e.showPlaceholder&&((n=e.$placeholder)==null||n.hide(),e.showPlaceholder=!1)}}(this,t),Aw((function(){$T(e,t)}))},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function aE(e){e.removeAttr(`width`),e.removeAttr(`height`),e.removeAttr(`fill`),e.removeAttr(`class`),e.removeAttr(`t`),e.removeAttr(`p-id`);var t=e.children();t.length&&aE(t)}function oE(){return B(`<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>`)}function sE(){return B(`<div class="w-e-bar-divider"></div>`)}function cE(e,t,n,r,i){if(i===void 0&&(i=!1),t){if(r){var a=rC?`cmd`:`ctrl`;r=r.replace(`mod`,a)}if(i)r&&(e.attr(`data-tooltip`,r),e.addClass(`w-e-menu-tooltip-v5`),e.addClass(`tooltip-right`));else{var o=r?n+`
37
+ `+r:n;e.attr(`data-tooltip`,o),e.addClass(`w-e-menu-tooltip-v5`)}}}wx(`match`,(function(e,t,n){return[function(t){var n=uv(this),r=t==null?void 0:Uv(t,e);return r?Rv(r,t,n):new RegExp(t)[e](lb(n))},function(e){var r=Iv(this),i=lb(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return Ox(r,i);var o=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;(s=Ox(r,i))!==null;){var u=lb(s[0]);c[l]=u,u===``&&(r.lastIndex=Tx(i,wy(r.lastIndex),o)),l++}return l===0?null:c}]}));var lE=function(){function e(e,t,n){var r=this;n===void 0&&(n=!1),this.$elem=B(`<div class="w-e-bar-item"></div>`),this.$button=B(`<button type="button"></button>`),this.disabled=!1,this.menu=t;var i=t.tag,a=t.width;if(i!==`button`)throw Error(`Invalid tag '`+i+`', expected 'button'`);var o=t.title,s=t.hotkey,c=s===void 0?``:s,l=t.iconSvg,u=l===void 0?``:l,d=this.$button;if(u){var f=B(u);aE(f),d.append(f)}else d.text(o);cE(d,u,o,c,n),n&&u&&d.append(B(`<span class="title">`+o+`</span>`)),a&&d.css(`width`,a+`px`),d.attr(`data-menu-key`,e),this.$elem.append(d),Aw((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on(`click`,(function(t){t.preventDefault(),hE(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())}))},e.prototype.exec=function(){var e=hE(this),t=this.menu,n=t.getValue(e);t.exec(e,n)},e.prototype.setActive=function(){var e=hE(this),t=this.$button,n=`active`;this.menu.isActive(e)?t.addClass(n):t.removeClass(n)},e.prototype.setDisabled=function(){var e=hE(this),t=this.$button,n=this.menu.isDisabled(e);(e.selection==null||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r=`disabled`;n?t.addClass(r):t.removeClass(r),this.disabled=n},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),wfe=function(e){function t(t,n,r){return r===void 0&&(r=!1),e.call(this,t,n,r)||this}return Fx(t,e),t.prototype.onButtonClick=function(){},t}(lE),uE=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e)}return e.prototype.record=function(e){var t=DS.get(e);t??(t=new Set,DS.set(e,t)),t.add(this),OS.set(this,e)},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n)},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=OS.get(this);e&&e.emit(`modalOrPanelShow`,this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=OS.get(this);e&&e.emit(`modalOrPanelHide`)}},e}(),Tfe=function(e){function t(t){var n=e.call(this,t)||this;return n.type=`dropPanel`,n.$elem=B(`<div class="w-e-drop-panel"></div>`),n}return Fx(t,e),t.prototype.genSelfElem=function(){return null},t}(uE),Efe=function(e){function t(t,n,r){r===void 0&&(r=!1);var i=e.call(this,t,n,r)||this;if(i.dropPanel=null,i.menu=n,n.showDropPanel){var a=oE();i.$button.append(a)}return i}return Fx(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var e=this.menu;if(e.getPanelContentElem!=null){var t=hE(this);if(this.dropPanel==null){var n=new Tfe(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var i=this.dropPanel;i.isShow?i.hide():(r=e.getPanelContentElem(t),i.renderContent(r),i.show())}var a=this.dropPanel;if(a.isShow){var o=this.$elem,s=o.offset().left,c=o.parents(`.w-e-bar`);s-c.offset().left>=c.width()/2?a.$elem.css({left:`none`,right:`0`}):a.$elem.css({left:`0`,right:`none`})}}},t}(lE),Dfe=function(e){function t(t,n){n===void 0&&(n=0);var r=e.call(this,t)||this;r.type=`modal`,r.$elem=B(`<div class="w-e-modal"></div>`),r.width=0,n&&(r.width=n);var i=r.$elem;return i.on(`click`,(function(e){return e.stopPropagation()})),i.on(`keyup`,(function(e){e.code===`Escape`&&(r.hide(),t.restoreSelection())})),r}return Fx(t,e),t.prototype.genSelfElem=function(){var e=this,t=B(`<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>`),n=OS.get(this);return t.on(`click`,(function(){e.hide(),n?.restoreSelection()})),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr(`style`,``),t&&n.css(`width`,t+`px`),n.css(e)},t}(uE);function dE(e,t,n){var r=B(`<label class="babel-container"></label>`);r.append(`<span>`+e+`</span>`);var i=B(`<input type="text" id="`+t+`" placeholder="`+(n||``)+`">`);return r.append(i),[r[0],i[0]]}function fE(e,t){var n=B(`<div class="button-container"></div>`),r=B(`<button type="button" id="`+e+`">`+t+`</button>`);return n.append(r),[n[0],r[0]]}var Ofe=function(e){function t(t,n,r){r===void 0&&(r=!1);var i=e.call(this,t,n,r)||this;return i.$body=B(`body`),i.modal=null,i.menu=n,i}return Fx(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var e=hE(this),t=this.menu.getModalPositionNode(e);return N.isElement(t)?AT(e,t,`modal`):kT(e)},t.prototype.handleModal=function(){var e=hE(this),t=this.menu;if(this.modal==null){var n=new Dfe(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else (n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},t.prototype.renderAndShowModal=function(e,t){t===void 0&&(t=!1);var n=hE(this),r=this.menu;if(r.getModalContentElem!=null){var i=G.getTextarea(n),a=(G.getToolbar(n)?.getConfig()||{}).modalAppendToBody,o=r.getModalContentElem(n);if(e.renderContent(o),a)e.setStyle({left:`0`,right:`0`});else{var s=this.getPosition();e.setStyle(s)}t&&(a?e.appendTo(this.$body):e.appendTo(i.$textAreaContainer)),e.show(),a||jT(n,e.$elem),setTimeout((function(){n.blur()}))}},t}(lE),kfe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type=`selectList`,r.$elem=B(`<div class="w-e-select-list"></div>`),n&&r.$elem.css(`width`,n+`px`),r.$elem.on(`click`,(function(e){e.stopPropagation()})),r}return Fx(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=B(`<ul></ul>`);e.forEach((function(e){var t=e.value,r=e.text,i=e.selected,a=e.styleForRenderMenuList,o=B(`<li data-value="`+t+`"></li>`);if(a&&o.css(a),i){var s=B(`<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>`);o.append(s),o.addClass(`selected`)}o.append(B(`<span data-value="`+t+`">`+r+`</span>`)),o.attr(`title`,r),n.append(o)})),t.append(n)},t.prototype.genSelfElem=function(){return null},t}(uE),Afe=function(){function e(e,t,n){var r=this;n===void 0&&(n=!1),this.$elem=B(`<div class="w-e-bar-item"></div>`),this.$button=B(`<button type="button" class="select-button"></button>`),this.disabled=!1,this.selectList=null;var i=t.tag,a=t.title,o=t.width,s=t.iconSvg,c=s===void 0?``:s,l=t.hotkey,u=l===void 0?``:l;if(i!==`select`)throw Error(`Invalid tag '`+i+`', expected 'select'`);var d=this.$button;o&&d.css(`width`,o+`px`),d.attr(`data-menu-key`,e),cE(d,c,a,u,n),this.$elem.append(d),this.menu=t,Aw((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on(`click`,(function(t){t.preventDefault(),hE(e).hidePanelOrModal(),e.trigger()}))},e.prototype.trigger=function(){var e=this,t=hE(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(this.selectList==null){this.selectList=new kfe(t,n.selectPanelWidth);var r=this.selectList,i=n.getOptions(t);r.renderList(i),r.appendTo(this.$elem),r.show(),r.$elem.on(`click`,`li`,(function(t){var n=t.target;if(n!=null){t.preventDefault();var r=B(n).attr(`data-value`);e.onChange(r)}}))}else (r=this.selectList).isShow?r.hide():(i=n.getOptions(t),r.renderList(i),r.show())}},e.prototype.onChange=function(e){var t=hE(this),n=this.menu;n.exec&&n.exec(t,e)},e.prototype.setSelectedValue=function(){var e=hE(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r=``,i=0;i<n;i++){var a=e[i];if(a.value===t){r=a.text;break}}return r}(t.getOptions(e),n.toString()),i=this.$button,a=oE();i.empty(),i.text(r),i.append(a)},e.prototype.setDisabled=function(){var e=hE(this),t=this.menu.isDisabled(e),n=this.$button;(e.selection==null||e.isDisabled())&&(t=!0);var r=`disabled`;t?n.addClass(r):n.removeClass(r),this.disabled=t},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),pE=function(){function e(e){this.$elem=B(`<div class="w-e-bar-item w-e-bar-item-group"></div>`),this.$container=B(`<div class="w-e-bar-item-menus-container"></div>`),this.$button=B(`<button type="button"></button>`);var t=e.key,n=e.iconSvg,r=e.title,i=this.$elem,a=this.$button;if(n){var o=B(n);aE(o),a.append(o)}else a.text(r);a.attr(`data-menu-key`,t);var s=oE();a.append(s),i.append(a);var c=this.$container;i.append(c);var l=this.createObserver();this.observe(l)}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t)},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver((function(){var i=t.find(`button`),a=i.length;if(a!==0){var o=0;i.each((function(e){B(e).hasClass(`disabled`)&&o++})),r.disconnect(),o===a?n.addClass(`disabled`):n.removeClass(`disabled`),e.observe(r)}}));return r},e}(),mE=new WeakMap;function hE(e){var t=ES.get(e);if(t==null)throw Error(`Can not get editor instance`);return t}function gE(e,t,n){n===void 0&&(n=!1);var r=mE.get(t);if(r)return r;var i=t.tag;if(i===`button`){var a=t.showDropPanel,o=t.showModal;r=a?new Efe(e,t,n):o?new Ofe(e,t,n):new wfe(e,t,n)}if(i===`select`&&(r=new Afe(e,t,n)),r==null)throw Error(`Invalid tag in menu `+JSON.stringify(t));return mE.set(t,r),r}function jfe(e,t){var n=e.selection;return n!=null&&!L.isCollapsed(n)&&!G.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=t.type;return!![`pre`,`code`,`table`].includes(n)||void 0}))&&!!R.isText(t)}var Mfe=function(){function e(){var e=this;this.$elem=B(`<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>`),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=Jh((function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,i=r===void 0?null:r,a=n.menuKeys,o=a===void 0?[]:a;i!=null&&e.changeItemsState(),i&&N.isElement(i)&&t&&e.isSamePath(i,e.prevSelectedNode)||(e.hideAndClean(),i!=null&&(e.registerItems(o),e.setPosition(i),e.show()),e.prevSelectedNode=i)}),200),Aw((function(){var t=e.getEditorInstance(),n=e.$elem;n.on(`mousedown`,(function(e){return e.preventDefault()}),{passive:!1}),G.getTextarea(t).$textAreaContainer.append(n),t.on(`change`,e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on(`scroll`,r),t.on(`fullScreen`,r),t.on(`unFullScreen`,r)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass(`w-e-bar-show`).addClass(`w-e-bar-hidden`),this.hoverbarItems=[],e.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass(`w-e-bar-bottom`):e.removeClass(`w-e-bar-bottom`)},e.prototype.show=function(){this.$elem.removeClass(`w-e-bar-hidden`).addClass(`w-e-bar-show`),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var e=this;Aw((function(){e.hoverbarItems.forEach((function(e){e.changeMenuState()}))}))},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach((function(e){if(e!==`|`)t.registerSingleItem(e);else{var r=sE();n.append(r)}}))},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(r==null){var i=lC[e];if(i==null)throw Error(`Not found menu item factory by key '`+e+`'`);if(typeof i!=`function`)throw Error(`Menu item factory (key='`+e+`') is not a function`);r=i(),n[e]=r}var a=gE(e,r);this.hoverbarItems.push(a),ES.set(a,t),this.$elem.append(a.$elem)},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr(`style`,``),N.isElement(e)){var r=AT(t,e,`bar`);n.css(r),jT(t,n);return}if(R.isText(e))return r=kT(t),n.css(r),void jT(t,n);throw Error(`hoverbar.setPosition error, current selected node is not elem nor text`)},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(e.selection==null)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],i=function(i){var a=t[i],o=a.match,s=a.menuKeys,c=s===void 0?[]:s,l=o||function(e,t){return G.checkNodeType(t,i)},u=Rx(P.nodes(e,{match:function(t){return l(e,t)},universal:!0}),1)[0];if(u!=null)return n=u[0],r=c,`break`};for(var a in t)if(i(a)===`break`)break;return n==null||r.length===0?null:{node:n,menuKeys:r}},e.prototype.getEditorInstance=function(){var e=wS.get(this);if(e==null)throw Error(`Can not get editor instance`);return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=e===void 0?{}:e,n=t.text;return n&&n.match==null&&(n.match=jfe),t},e.prototype.isSamePath=function(e,t){if(e==null||t==null)return!1;var n=G.findPath(null,e),r=G.findPath(null,t);return I.equals(n,r)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function _E(e,t,n,r){if(NS.set(e,t),PS.set(e,n),N.isElement(e)){var i=e.children;if((i===void 0?[]:i).forEach((function(t,n){return _E(t,n,e,r)})),P.isVoid(r,e)){var a=Rx(Rx(F.texts(e),1)[0],1)[0];NS.set(a,0),PS.set(a,e)}}}function Nfe(e){var t=e.selector,n=t===void 0?``:t,r=e.config,i=r===void 0?{}:r,a=e.content,o=e.html,s=e.plugins,c=s===void 0?[]:s,l=(e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];cb.withoutSaving(t,(()=>{P.withoutNormalizing(t,(()=>{for(var e of r)t.apply(e)}))})),e.redos.pop(),e.undos.push(r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];cb.withoutSaving(t,(()=>{P.withoutNormalizing(t,(()=>{for(var e of r.map(lf.inverse).reverse())t.apply(e)}))})),e.redos.push(r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:i}=t,{undos:a}=i,o=a[a.length-1],s=o&&o[o.length-1],c=((e,t)=>!(!t||e.type!==`set_selection`||t.type!==`set_selection`))(e,s),l=cb.isSaving(t),u=cb.isMerging(t);if(l??=((e,t)=>e.type!==`set_selection`||e.properties!=null&&e.newProperties!=null)(e),l){if(u??=o!=null&&(r.length!==0||((e,t)=>e.type===`set_selection`||!(!t||e.type!==`insert_text`||t.type!==`insert_text`||e.offset!==t.offset+t.text.length||!I.equals(e.path,t.path))||!(!t||e.type!==`remove_text`||t.type!==`remove_text`||e.offset+e.text.length!==t.offset||!I.equals(e.path,t.path)))(e,s)||c),o&&u)c&&o.pop(),o.push(e);else{var d=[e];a.push(d)}for(;a.length>100;)a.shift();(e=>e.type!==`set_selection`)(e)&&(i.redos=[])}n(e)},t})(function(e){var t=e,n=t.insertText,r=t.insertNode,i=t.insertFragment,a=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=G.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e))}else n(e)},t.insertNode=function(e){if(t.getConfig().maxLength){var n=G.getLeftLengthOfMaxLength(t);n<=0||n<F.string(e).length||r(e)}else r(e)},t.insertFragment=function(e){if(t.getConfig().maxLength)if(e.length!==1)e.forEach((function(e){t.insertNode(e)}));else{var n=e[0];if(G.getLeftLengthOfMaxLength(t)<F.string(n).length)return;i(e)}else i(e)},t.dangerouslyInsertHtml=function(e,n){if(e===void 0&&(e=``),n===void 0&&(n=!1),e)if(t.getConfig().maxLength){var r=G.getLeftLengthOfMaxLength(t);if(!(r<=0)){var i=document.createElement(`div`);i.innerHTML=e,r<Array.from(i.childNodes).reduce((function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===KS.TEXT_NODE?e+(t.textContent||``):n===KS.ELEMENT_NODE?cT.has(r.toLowerCase())?e:e+(t.textContent||``):e:e}),``).length||a(e,n)}}else a(e,n)},t}(function(e){var t=e;return t.on=function(e,n){var r=CT(t);if(r.on(e,n),e===`destroyed`&&TT(t,n),e!==`destroyed`){var i=function(){return r.off(e,n)};r.on(`destroyed`,i),TT(t,i)}},t.once=function(e,n){CT(t).once(e,n)},t.off=function(e,n){CT(t).off(e,n)},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=CT(t);i.emit.apply(i,zx([e],Rx(n))),e===`destroyed`&&(ET(t).forEach((function(e){return i.off(`destroyed`,e)})),DT(t))},t}(function(e){var t=e;return t.select=function(e){z.select(t,e)},t.deselect=function(){var n=t.selection,r=G.findDocumentOrShadowRoot(t).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&z.deselect(e)},t.move=function(t,n){n===void 0&&(n=!1),t&&(t<0||z.move(e,{distance:t,unit:`character`,reverse:n}))},t.moveReverse=function(e){t.move(e,!0)},t.restoreSelection=function(){var e=HS.get(t);e!=null&&(t.focus(),z.select(t,e))},t.getSelectionPosition=function(){return kT(t)},t.getNodePosition=function(e){return AT(t,e)},t.isSelectedAll=function(){var e=t.selection;if(e==null)return!1;var n=Rx(L.edges(e),2),r=n[0],i=n[1],a=Rx(P.edges(t,[]),2),o=a[0],s=a[1];return!(!ff.equals(r,o)||!ff.equals(i,s))},t.selectAll=function(){var e=P.start(t,[]),n=P.end(t,[]);z.select(t,{anchor:e,focus:n})},t}(function(e){var t=e,n=t.onChange,r=t.insertText,i=t.apply,a=t.deleteBackward;return t.insertText=function(e){t.getConfig().readOnly||r(e)},t.apply=function(e){var n,r,a,o,s,c,l,u,d=[];switch(e.type){case`insert_text`:case`remove_text`:case`set_node`:try{for(var f=Lx(P.levels(t,{at:e.path})),p=f.next();!p.done;p=f.next()){var m=Rx(p.value,2),h=m[0],g=m[1],_=G.findKey(t,h);d.push([g,_])}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}break;case`insert_node`:case`remove_node`:case`merge_node`:case`split_node`:try{for(var v=Lx(P.levels(t,{at:I.parent(e.path)})),y=v.next();!y.done;y=v.next()){var b=Rx(y.value,2);h=b[0],g=b[1],_=G.findKey(t,h),d.push([g,_])}}catch(e){a={error:e}}finally{try{y&&!y.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}break;case`move_node`:try{for(var x=Lx(P.levels(t,{at:I.common(I.parent(e.path),I.parent(e.newPath))})),S=x.next();!S.done;S=x.next()){var C=Rx(S.value,2);h=C[0],g=C[1],_=G.findKey(t,h),d.push([g,_])}}catch(e){s={error:e}}finally{try{S&&!S.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}}i(e);try{for(var w=Lx(d),T=w.next();!T.done;T=w.next()){var E=Rx(T.value,2);g=E[0],_=E[1],h=Rx(P.node(t,g),1)[0],zS.set(h,_)}}catch(e){l={error:e}}finally{try{T&&!T.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}},t.deleteBackward=function(n){if(n!==`line`)return a(n);if(e.selection&&L.isCollapsed(e.selection)){var r=P.above(e,{match:function(t){return P.isBlock(e,t)},at:e.selection});if(r){var i=Rx(r,2)[1],o=function(e,t){var n=P.range(e,L.end(t)),r=Array.from(P.positions(e,{at:t})),i=0,a=r.length,o=Math.floor(a/2);if(Pw(e,P.range(e,r[i]),n))return P.range(e,r[i],n);if(r.length<2)return P.range(e,r[r.length-1],n);for(;o!==r.length&&o!==i;)Pw(e,P.range(e,r[o]),n)?a=o:i=o,o=Math.floor((i+a)/2);return P.range(e,r[a],n)}(t,P.range(e,i,e.selection.anchor));L.isCollapsed(o)||z.delete(e,{at:o})}}},t.onChange=function(){var e=t.selection;e!=null&&HS.set(t,e),t.emit(`change`),n()},t.handleTab=function(){t.insertText(` `)},t.getHtml=function(){var e=t.children;return(e===void 0?[]:e).map((function(e){return jw(e,t)})).join(``)},t.getText=function(){var e=t.children;return(e===void 0?[]:e).map((function(e){return F.string(e)})).join(`
38
+ `)},t.getSelectionText=function(){var n=t.selection;return n==null?``:P.string(e,n)},t.getElemsByType=function(e,n){var r,i;n===void 0&&(n=!1);var a=[],o=P.nodes(t,{at:[],universal:!0});try{for(var s=Lx(o),c=s.next();!c.done;c=s.next()){var l=Rx(c.value,1)[0];if(N.isElement(l)&&(n?l.type.indexOf(e)>=0:l.type===e)){var u=Mw(G.findKey(t,l).id);a.push(Ix(Ix({},l),{id:u}))}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a},t.getElemsByTypePrefix=function(e){return t.getElemsByType(e,!0)},t.isEmpty=function(){var e=t.children,n=e===void 0?[]:e;if(n.length>1)return!1;var r=n[0];if(r==null)return!0;if(N.isElement(r)&&r.type===`paragraph`){var i=r.children,a=i===void 0?[]:i;if(a.length>1)return!1;var o=a[0];if(o==null||R.isText(o)&&o.text===``)return!0}return!1},t.clear=function(){z.delete(t,{at:{anchor:P.start(t,[]),focus:P.end(t,[])}}),t.children.length===0&&z.insertNodes(t,[{type:`paragraph`,children:[{text:``}]}])},t.getParentNode=function(e){return G.getParentNode(t,e)},t.dangerouslyInsertHtml=function(e,n){if(e===void 0&&(e=``),n===void 0&&(n=!1),e){var r=document.createElement(`div`);r.innerHTML=e;var i=Array.from(r.childNodes);if(i=i.filter((function(e){var t=e.nodeType,n=e.nodeName;return t===KS.TEXT_NODE||t===KS.ELEMENT_NODE&&!cT.has(n.toLowerCase())})),i.length!==0){var a=t.selection;if(a!=null){var o=null;G.isSelectedEmptyParagraph(t)&&!n&&(o=[a.focus.path[0]]),r.setAttribute(`hidden`,`true`),document.body.appendChild(r);var s=0;i.forEach((function(e){var n=e.nodeType,r=e.nodeName,i=e.textContent,a=i===void 0?``:i;if(n!==KS.TEXT_NODE)if(r!==`BR`){var o=e,c=!1;if(Fw.includes(r.toLowerCase()))c=!0;else for(var l in Rw)if(o.matches(l)){c=!0;break}if(c){var u=nT(B(o),t);Array.isArray(u)?(u.forEach((function(e){return lT(t,e)})),s++):(lT(t,u),s++),G.isSelectedVoidNode(t)&&t.move(1);return}var d=window.getComputedStyle(o).display;G.isSelectedEmptyParagraph(t)||d.indexOf(`inline`)<0&&t.insertBreak(),t.dangerouslyInsertHtml(o.innerHTML,!0)}else t.insertText(`
39
+ `);else{if(!a||!a.trim())return;t.insertNode({text:a})}})),s&&o&&G.isEmptyPath(t,o)&&z.removeNodes(t,{at:o}),r.remove()}}}},t.setHtml=function(e){e===void 0&&(e=``);var n=t.isDisabled(),r=t.isFocused(),i=JSON.stringify(t.selection);t.enable(),t.focus(),t.clear();var a=iT(t,e);if(z.insertFragment(t,a),r||(t.deselect(),t.blur()),n&&(t.deselect(),t.disable()),t.isFocused())try{t.select(JSON.parse(i))}catch{t.select(P.start(t,[]))}},t}(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in lC)e.push(t);return e},t.getConfig=function(){var e=kS.get(t);if(e==null)throw Error(`Can not get editor config`);return e},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return(n===void 0?{}:n)[e]||{}},t.alert=function(e,n){n===void 0&&(n=`info`);var r=t.getConfig().customAlert;r&&r(e,n)},t}(function(e){var t=$de(Td());return t.id=`wangEditor-`+ fde++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(G.toDOMNode(t,t).focus({preventScroll:!0}),VS.set(t,!0),e){var n=P.end(t,[]);z.select(t,n)}else{var r=HS.get(t);r?z.select(t,r):z.select(t,P.start(t,[]))}},t.isFocused=function(){return!!VS.get(t)},t.blur=function(){G.toDOMNode(t,t).blur(),z.deselect(t),VS.set(t,!1)},t.updateView=function(){G.getTextarea(t).changeViewState();var e=G.getToolbar(t);e&&e.changeToolbarState();var n=G.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=G.getTextarea(t);e.destroy(),bS.delete(t),xS.delete(e);var n=G.getToolbar(t);n&&(n.destroy(),CS.delete(t),SS.delete(n));var r=G.getHoverbar(t);r&&(r.destroy(),TS.delete(t),wS.delete(r)),t.isDestroyed=!0,t.emit(`destroyed`)}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n=`编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能`;n+=`
40
+ You has disabled editor scroll, please do this yourself`,console.warn(n);return}var r=B(`#`+e);if(r.length!==0){var i=r[0];if(!G.hasDOMNode(t,i))return n=`Element (found by id is '`+e+`') is not in editor DOM`,n+=`
41
+ 通过 id '`+e+`' 找到的 element 不在 editor DOM 之内`,void console.error(n,i);var a=G.getTextarea(t),o=a.$textAreaContainer,s=a.$scroll,c=r.offset().top,l=o.offset().top;s[0].scrollBy({top:c-l,behavior:`smooth`})}},t.showProgressBar=function(e){e<1||G.getTextarea(t).changeProgress(e)},t.hidePanelOrModal=function(){DS.get(t)?.forEach((function(e){return e.hide()}))},t.enable=function(){t.getConfig().readOnly=!1,t.updateView()},t.disable=function(){t.getConfig().readOnly=!0,t.updateView()},t.isDisabled=function(){return t.getConfig().readOnly},t.toDOMNode=function(e){return G.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=G.getToolbar(t);n&&(e=n.$box);var r=G.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
42
+ 不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致`);r.addClass(`w-e-full-screen-container`);var i=r.css(`z-index`);r.attr(`data-z-index`,i.toString()),t.isFullScreen=!0,t.emit(`fullScreen`)}},t.unFullScreen=function(){if(t.isFullScreen){var e=G.getTextarea(t).$box.parent();setTimeout((function(){e.removeClass(`w-e-full-screen-container`),t.isFullScreen=!1,t.emit(`unFullScreen`)}),200)}},t.getEditableContainer=function(){return G.getTextarea(t).$textAreaContainer[0]},t}()))))));if(n&&function(e,t){return rT(e,`data-w-e-textarea`,t)}(l,n))throw Error(`Repeated create editor by selector '`+n+`'`);var u=function(e){e===void 0&&(e={});var t=Yh(cC),n={},r=e.MENU_CONF,i=r===void 0?{}:r;return nm(t,(function(e,t){n[t]=Ix(Ix({},e),i[t]||{})})),delete e.MENU_CONF,Ix({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+`:
43
+ `+e)}},e)}(i);kS.set(l,u);var d=u.hoverbarKeys,f=d===void 0?{}:d;if(c.forEach((function(e){l=e(l)})),o!=null&&(l.children=iT(l,o)),a&&a.length&&(l.children=a),l.children.length===0&&(l.children=[{type:`paragraph`,children:[{text:``}]}]),G.normalizeContent(l),n){var p=new Cfe(n);bS.set(l,p),xS.set(p,l),p.changeViewState(),Aw((function(){var e=p.$scroll;e!=null&&e.height()<300&&console.warn(`编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常
44
+ Textarea height < 300px . This may be cause modal and hoverbar position error`,e)}));var m=void 0;Object.keys(f).length>0&&(m=new Mfe,wS.set(m,l),TS.set(l,m)),l.on(`change`,(function(){l.hidePanelOrModal()})),l.on(`scroll`,(function(){l.hidePanelOrModal()}))}else l.children.forEach((function(e,t){return _E(e,t,l,l)}));var h=u.onCreated,g=u.onDestroyed;return h&&l.on(`created`,(function(){return h(l)})),g&&l.on(`destroyed`,(function(){return g(l)})),Aw((function(){return l.emit(`created`)})),l}var Pfe=ox(`splice`),Ffe=U.TypeError,Ife=Math.max,Lfe=Math.min;rb({target:`Array`,proto:!0,forced:!Pfe},{splice:function(e,t){var n,r,i,a,o,s,c=dv(this),l=Ty(c),u=qy(e,l),d=arguments.length;if(d===0?n=r=0:d===1?(n=0,r=l-u):(n=d-2,r=Lfe(Ife(Cy(t),0),l-u)),l+n-r>9007199254740991)throw Ffe(`Maximum allowed length exceeded`);for(i=Ny(c,r),a=0;a<r;a++)(o=u+a)in c&&Ab(i,a,c[o]);if(i.length=r,n<r){for(a=u;a<l-r;a++)s=a+n,(o=a+r)in c?c[s]=c[o]:delete c[s];for(a=l;a>l-r+n;a--)delete c[a-1]}else if(n>r)for(a=l-r;a>u;a--)s=a+n-1,(o=a+r-1)in c?c[s]=c[o]:delete c[s];for(a=0;a<n;a++)c[a+u]=arguments[a+2];return c.length=l-r+n,i}});var Rfe=function(){function e(e,t){var n=this;this.$toolbar=B(`<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>`),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=Jh((function(){n.toolbarItems.forEach((function(e){e.changeMenuState()}))}),200),this.config=t;var r=B(e);if(r.length===0)throw Error(`Cannot find toolbar DOM by selector '`+e+`'`);this.$box=r;var i=this.$toolbar;i.on(`mousedown`,(function(e){return e.preventDefault()}),{passive:!1}),r.append(i),Aw((function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on(`change`,n.changeToolbarState)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var e=this,t=``,n=this.$toolbar,r=this.config,i=r.toolbarKeys,a=i===void 0?[]:i,o=r.insertKeys,s=o===void 0?{index:0,keys:[]}:o,c=r.excludeKeys,l=c===void 0?[]:c,u=Yh(a);s.keys.length>0&&(typeof s.keys==`string`&&(s.keys=[s.keys]),s.keys.forEach((function(e,t){u.splice(s.index+t,0,e)})));var d=u.filter((function(e){if(typeof e==`string`){if(l.includes(e))return!1}else if(l.includes(e.key))return!1;return!0})),f=d.length;d.forEach((function(r,i){if(r===`|`){if(i===0||i+1===f||t===`|`)return;var a=sE();n.append(a),t=r;return}if(typeof r==`string`)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t=`group`}))},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new pE(e)}(e),i=e.menuKeys,a=i===void 0?[]:i,o=this.config.excludeKeys,s=o===void 0?[]:o;a.forEach((function(e){s.includes(e)||t.registerSingleItem(e,r)})),n.append(r.$elem)},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof pE,i=this.menus,a=i[e];if(a==null){var o=lC[e];if(o==null)throw Error(`Not found menu item factory by key '`+e+`'`);if(typeof o!=`function`)throw Error(`Menu item factory (key='`+e+`') is not a function`);a=o(),i[e]=a}else console.warn(`Duplicated toolbar menu key '`+e+`'
45
+ 重复注册了菜单栏 menu '`+e+`'`);var s=gE(e,a,r);this.toolbarItems.push(s),ES.set(s,n),r?t.appendBarItem(s):t.$toolbar.append(s.$elem)},e.prototype.getEditorInstance=function(){var e=SS.get(this);if(e==null)throw Error(`Can not get editor instance`);return e},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),zfe=dy.EXISTS,Bfe=Kv.f,vE=Function.prototype,Vfe=W(vE.toString),yE=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Hfe=W(yE.exec);function bE(e){var t=e.server,n=t===void 0?``:t,r=e.fieldName,i=r===void 0?``:r,a=e.maxFileSize,o=a===void 0?10485760:a,s=e.maxNumberOfFiles,c=s===void 0?100:s,l=e.meta,u=l===void 0?{}:l,d=e.metaWithUrl,f=d!==void 0&&d,p=e.headers,m=p===void 0?{}:p,h=e.withCredentials,g=h!==void 0&&h,_=e.timeout,v=_===void 0?1e4:_,y=e.onBeforeUpload,b=y===void 0?function(e){return e}:y,x=e.onSuccess,S=x===void 0?function(e,t){}:x,C=e.onError,w=C===void 0?function(e,t,n){console.error(e.name+` upload error`,t,n)}:C,T=e.onProgress,E=T===void 0?function(e){}:T;if(!n)throw Error(`Cannot get upload server address
46
+ 没有配置上传地址`);if(!i)throw Error(`Cannot get fieldName
47
+ 没有配置 fieldName`);var D=n;f&&(D=function(e,t){var n=Rx(e.split(`#`),2),r=n[0],i=n[1],a=[];nm(t,(function(e,t){a.push(t+`=`+e)}));var o=a.join(`&`);return r=r.indexOf(`?`)>0?r+`&`+o:r+`?`+o,i?r+`#`+i:r}(D,u));var O=new a_({onBeforeUpload:b,restrictions:{maxFileSize:o,maxNumberOfFiles:c},meta:u}).use(Mce,{endpoint:D,headers:m,formData:!0,fieldName:i,bundle:!0,withCredentials:g,timeout:v});return O.on(`upload-success`,(function(e,t){var n=t.body,r=n===void 0?{}:n;try{S(e,r)}catch(e){console.error(`wangEditor upload file - onSuccess error`,e)}O.removeFile(e.id)})),O.on(`progress`,(function(e){e<1||E(e)})),O.on(`upload-error`,(function(e,t,n){try{w(e,t,n)}catch(e){console.error(`wangEditor upload file - onError error`,e)}O.removeFile(e.id)})),O.on(`restriction-failed`,(function(e,t){try{w(e,t)}catch(e){console.error(`wangEditor upload file - onError error`,e)}O.removeFile(e.id)})),O}function xE(e){return xE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xE(e)}function Ufe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Ufe(e,t,n[t])}))}return e}function CE(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function wE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function TE(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function EE(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function DE(e,t){if(t&&(xE(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return EE(e)}function OE(e){return OE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},OE(e)}function kE(e,t){return kE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kE(e,t)}function AE(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kE(e,t)}jv&&!zfe&&Bfe(vE,`name`,{configurable:!0,get:function(){try{return Hfe(yE,Vfe(this))[1]}catch{return``}}});var jE={type:`logger`,log:function(e){this.output(`log`,e)},warn:function(e){this.output(`warn`,e)},error:function(e){this.output(`error`,e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},ME=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};CE(this,e),this.init(t,n)}return TE(e,[{key:`init`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||`i18next:`,this.logger=e||jE,this.options=t,this.debug=t.debug}},{key:`setDebug`,value:function(e){this.debug=e}},{key:`log`,value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,`log`,``,!0)}},{key:`warn`,value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,`warn`,``,!0)}},{key:`error`,value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,`error`,``)}},{key:`deprecate`,value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,`warn`,`WARNING DEPRECATED: `,!0)}},{key:`forward`,value:function(e,t,n,r){return r&&!this.debug?null:(typeof e[0]==`string`&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}},{key:`create`,value:function(t){return new e(this.logger,SE({},{prefix:`${this.prefix}:${t}:`},this.options))}}]),e}()),NE=function(){function e(){CE(this,e),this.observers={}}return TE(e,[{key:`on`,value:function(e,t){var n=this;return e.split(` `).forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:`off`,value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:`emit`,value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers[`*`]&&[].concat(this.observers[`*`]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function PE(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function FE(e){return e==null?``:``+e}function IE(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function LE(e,t,n){function r(e){return e&&e.indexOf(`###`)>-1?e.replace(/###/g,`.`):e}function i(){return!e||typeof e==`string`}for(var a=typeof t==`string`?t.split(`.`):[].concat(t);a.length>1;){if(i())return{};var o=r(a.shift());!e[o]&&n&&(e[o]=new n),e=Object.prototype.hasOwnProperty.call(e,o)?e[o]:{}}return i()?{}:{obj:e,k:r(a.shift())}}function RE(e,t,n){var r=LE(e,t,Object);r.obj[r.k]=n}function zE(e,t){var n=LE(e,t),r=n.obj,i=n.k;if(r)return r[i]}function BE(e,t,n){var r=zE(e,n);return r===void 0?zE(t,n):r}function VE(e,t,n){for(var r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?typeof e[r]==`string`||e[r]instanceof String||typeof t[r]==`string`||t[r]instanceof String?n&&(e[r]=t[r]):VE(e[r],t[r],n):e[r]=t[r]);return e}function HE(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`)}var UE={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`};function WE(e){return typeof e==`string`?e.replace(/[&<>"'\/]/g,(function(e){return UE[e]})):e}var GE=typeof window<`u`&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf(`MSIE`)>-1;function KE(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`.`;if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,a=0;a<r.length;++a){if(!i||typeof i[r[a]]==`string`&&a+1<r.length)return;if(i[r[a]]===void 0){for(var o=2,s=r.slice(a,a+o).join(n),c=i[s];c===void 0&&r.length>a+o;)o++,c=i[s=r.slice(a,a+o).join(n)];if(c===void 0)return;if(typeof c==`string`)return c;if(s&&typeof c[s]==`string`)return c[s];var l=r.slice(a+o).join(n);return l?KE(c,l,n):void 0}i=i[r[a]]}return i}}var qE=function(e){function t(e){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:[`translation`],defaultNS:`translation`};return CE(this,t),n=DE(this,OE(t).call(this)),GE&&NE.call(EE(n)),n.data=e||{},n.options=r,n.options.keySeparator===void 0&&(n.options.keySeparator=`.`),n.options.ignoreJSONStructure===void 0&&(n.options.ignoreJSONStructure=!0),n}return AE(t,NE),TE(t,[{key:`addNamespaces`,value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:`removeNamespaces`,value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:`getResource`,value:function(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o=[e,t];n&&typeof n!=`string`&&(o=o.concat(n)),n&&typeof n==`string`&&(o=o.concat(i?n.split(i):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`));var s=zE(this.data,o);return s||!a||typeof n!=`string`?s:KE(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:`addResource`,value:function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=this.options.keySeparator;a===void 0&&(a=`.`);var o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(r=t,t=(o=e.split(`.`))[1]),this.addNamespaces(t),RE(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}},{key:`addResources`,value:function(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var i in n)typeof n[i]!=`string`&&Object.prototype.toString.apply(n[i])!==`[object Array]`||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit(`added`,e,t,n)}},{key:`addResourceBundle`,value:function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},o=[e,t];e.indexOf(`.`)>-1&&(r=n,n=t,t=(o=e.split(`.`))[1]),this.addNamespaces(t);var s=zE(this.data,o)||{};r?VE(s,n,i):s=SE({},s,n),RE(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}},{key:`removeResourceBundle`,value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}},{key:`hasResourceBundle`,value:function(e,t){return this.getResource(e,t)!==void 0}},{key:`getResourceBundle`,value:function(e,t){return t||=this.options.defaultNS,this.options.compatibilityAPI===`v1`?SE({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:`getDataByLanguage`,value:function(e){return this.data[e]}},{key:`toJSON`,value:function(){return this.data}}]),t}(),JE={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,i))})),t}},YE={},XE=function(e){function t(e){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return CE(this,t),n=DE(this,OE(t).call(this)),GE&&NE.call(EE(n)),IE([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,EE(n)),n.options=r,n.options.keySeparator===void 0&&(n.options.keySeparator=`.`),n.logger=ME.create(`translator`),n}return AE(t,NE),TE(t,[{key:`changeLanguage`,value:function(e){e&&(this.language=e)}},{key:`exists`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;var n=this.resolve(e,t);return n&&n.res!==void 0}},{key:`extractFromKey`,value:function(e,t){var n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);var r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var a=e.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:e,namespaces:i};var o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return typeof i==`string`&&(i=[i]),{key:e,namespaces:i}}},{key:`translate`,value:function(e,n,r){var i=this;if(xE(n)!==`object`&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||={},e==null)return``;Array.isArray(e)||(e=[String(e)]);var a=n.keySeparator===void 0?this.options.keySeparator:n.keySeparator,o=this.extractFromKey(e[e.length-1],n),s=o.key,c=o.namespaces,l=c[c.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()===`cimode`)return d?l+(n.nsSeparator||this.options.nsSeparator)+s:s;var f=this.resolve(e,n),p=f&&f.res,m=f&&f.usedKey||s,h=f&&f.exactUsedKey||s,g=Object.prototype.toString.apply(p),_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=n.joinArrays===void 0?this.options.joinArrays:n.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject;if(y&&p&&typeof p!=`string`&&typeof p!=`boolean`&&typeof p!=`number`&&_.indexOf(g)<0&&(typeof v!=`string`||g!==`[object Array]`)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,p,SE({},n,{ns:c})):`key '${s} (${this.language})' returned an object instead of string.`;if(a){var b=g===`[object Array]`,x=b?[]:{},S=b?h:m;for(var C in p)if(Object.prototype.hasOwnProperty.call(p,C)){var w=`${S}${a}${C}`;x[C]=this.translate(w,SE({},n,{joinArrays:!1,ns:c})),x[C]===w&&(x[C]=p[C])}p=x}}else if(y&&typeof v==`string`&&g===`[object Array]`)(p=p.join(v))&&(p=this.extendTranslation(p,e,n,r));else{var T=!1,E=!1,D=n.count!==void 0&&typeof n.count!=`string`,O=t.hasDefaultValue(n),ee=D?this.pluralResolver.getSuffix(u,n.count):``,k=n[`defaultValue${ee}`]||n.defaultValue;!this.isValidLookup(p)&&O&&(T=!0,p=k),this.isValidLookup(p)||(E=!0,p=s);var te=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&E?void 0:p,A=O&&k!==p&&this.options.updateMissing;if(E||T||A){if(this.logger.log(A?`updateKey`:`missingKey`,u,l,s,A?k:p),a){var ne=this.resolve(s,SE({},n,{keySeparator:!1}));ne&&ne.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}var re=[],ie=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo===`fallback`&&ie&&ie[0])for(var ae=0;ae<ie.length;ae++)re.push(ie[ae]);else this.options.saveMissingTo===`all`?re=this.languageUtils.toResolveHierarchy(n.lng||this.language):re.push(n.lng||this.language);var oe=function(e,t,r){i.options.missingKeyHandler?i.options.missingKeyHandler(e,l,t,A?r:te,A,n):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(e,l,t,A?r:te,A,n),i.emit(`missingKey`,e,l,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&D?re.forEach((function(e){i.pluralResolver.getSuffixes(e).forEach((function(t){oe([e],s+t,n[`defaultValue${t}`]||k)}))})):oe(re,s,k))}p=this.extendTranslation(p,e,n,f,r),E&&p===s&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${s}`),(E||T)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p))}return p}},{key:`extendTranslation`,value:function(e,t,n,r,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(SE({},n,{interpolation:SE({},this.options.interpolation,n.interpolation)}));var o,s=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(s){var c=e.match(this.interpolator.nestingRegexp);o=c&&c.length}var l=n.replace&&typeof n.replace!=`string`?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=SE({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);o<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,f=typeof d==`string`?[d]:d;return e!=null&&f&&f.length&&!1!==n.applyPostProcessor&&(e=JE.handle(f,e,t,this.options&&this.options.postProcessPassResolved?SE({i18nResolved:r},n):n,this)),e}},{key:`resolve`,value:function(e){var t,n,r,i,a,o=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof e==`string`&&(e=[e]),e.forEach((function(e){if(!o.isValidLookup(t)){var c=o.extractFromKey(e,s),l=c.key;n=l;var u=c.namespaces;o.options.fallbackNS&&(u=u.concat(o.options.fallbackNS));var d=s.count!==void 0&&typeof s.count!=`string`,f=s.context!==void 0&&(typeof s.context==`string`||typeof s.context==`number`)&&s.context!==``,p=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);u.forEach((function(e){o.isValidLookup(t)||(a=e,!YE[`${p[0]}-${e}`]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(a)&&(YE[`${p[0]}-${e}`]=!0,o.logger.warn(`key "${n}" for languages "${p.join(`, `)}" won't get resolved as namespace "${a}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach((function(n){if(!o.isValidLookup(t)){i=n;var a,c,u=l,p=[u];for(o.i18nFormat&&o.i18nFormat.addLookupKeys?o.i18nFormat.addLookupKeys(p,l,n,e,s):(d&&(a=o.pluralResolver.getSuffix(n,s.count)),d&&f&&p.push(u+a),f&&p.push(u+=`${o.options.contextSeparator}${s.context}`),d&&p.push(u+=a));c=p.pop();)o.isValidLookup(t)||(r=c,t=o.getResource(n,e,c,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:a}}},{key:`isValidLookup`,value:function(e){return!(e===void 0||!this.options.returnNull&&e===null||!this.options.returnEmptyString&&e===``)}},{key:`getResource`,value:function(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:`hasDefaultValue`,value:function(e){var t=`defaultValue`;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&e[n]!==void 0)return!0;return!1}}]),t}();function ZE(e){return e.charAt(0).toUpperCase()+e.slice(1)}var QE=function(){function e(t){CE(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ME.create(`languageUtils`)}return TE(e,[{key:`getScriptPartFromCode`,value:function(e){if(!e||e.indexOf(`-`)<0)return null;var t=e.split(`-`);return t.length===2?null:(t.pop(),t[t.length-1].toLowerCase()===`x`?null:this.formatLanguageCode(t.join(`-`)))}},{key:`getLanguagePartFromCode`,value:function(e){if(!e||e.indexOf(`-`)<0)return e;var t=e.split(`-`);return this.formatLanguageCode(t[0])}},{key:`formatLanguageCode`,value:function(e){if(typeof e==`string`&&e.indexOf(`-`)>-1){var t=[`hans`,`hant`,`latn`,`cyrl`,`cans`,`mong`,`arab`],n=e.split(`-`);return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ZE(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!==`sgn`&&n[2].length===2&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=ZE(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=ZE(n[2].toLowerCase()))),n.join(`-`)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:`isWhitelisted`,value:function(e){return this.logger.deprecate(`languageUtils.isWhitelisted`,`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(e)}},{key:`isSupportedCode`,value:function(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:`getBestMatchFromCodes`,value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(e.indexOf(r)===0)return e}))}})),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t):null}},{key:`getFallbackCodes`,value:function(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),typeof e==`string`&&(e=[e]),Object.prototype.toString.apply(e)===`[object Array]`)return e;if(!t)return e.default||[];var n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}},{key:`toResolveHierarchy`,value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return typeof e==`string`&&e.indexOf(`-`)>-1?(this.options.load!==`languageOnly`&&a(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&a(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&a(this.getLanguagePartFromCode(e))):typeof e==`string`&&a(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&a(n.formatLanguageCode(e))})),i}}]),e}(),$E=[{lngs:[`ach`,`ak`,`am`,`arn`,`br`,`fil`,`gun`,`ln`,`mfe`,`mg`,`mi`,`oc`,`pt`,`pt-BR`,`tg`,`tl`,`ti`,`tr`,`uz`,`wa`],nr:[1,2],fc:1},{lngs:`af.an.ast.az.bg.bn.ca.da.de.dev.el.en.eo.es.et.eu.fi.fo.fur.fy.gl.gu.ha.hi.hu.hy.ia.it.kk.kn.ku.lb.mai.ml.mn.mr.nah.nap.nb.ne.nl.nn.no.nso.pa.pap.pms.ps.pt-PT.rm.sco.se.si.so.son.sq.sv.sw.ta.te.tk.ur.yo`.split(`.`),nr:[1,2],fc:2},{lngs:[`ay`,`bo`,`cgg`,`fa`,`ht`,`id`,`ja`,`jbo`,`ka`,`km`,`ko`,`ky`,`lo`,`ms`,`sah`,`su`,`th`,`tt`,`ug`,`vi`,`wo`,`zh`],nr:[1],fc:3},{lngs:[`be`,`bs`,`cnr`,`dz`,`hr`,`ru`,`sr`,`uk`],nr:[1,2,5],fc:4},{lngs:[`ar`],nr:[0,1,2,3,11,100],fc:5},{lngs:[`cs`,`sk`],nr:[1,2,5],fc:6},{lngs:[`csb`,`pl`],nr:[1,2,5],fc:7},{lngs:[`cy`],nr:[1,2,3,8],fc:8},{lngs:[`fr`],nr:[1,2],fc:9},{lngs:[`ga`],nr:[1,2,3,7,11],fc:10},{lngs:[`gd`],nr:[1,2,3,20],fc:11},{lngs:[`is`],nr:[1,2],fc:12},{lngs:[`jv`],nr:[0,1],fc:13},{lngs:[`kw`],nr:[1,2,3,4],fc:14},{lngs:[`lt`],nr:[1,2,10],fc:15},{lngs:[`lv`],nr:[1,2,0],fc:16},{lngs:[`mk`],nr:[1,2],fc:17},{lngs:[`mnk`],nr:[0,1,2],fc:18},{lngs:[`mt`],nr:[1,2,11,20],fc:19},{lngs:[`or`],nr:[2,1],fc:2},{lngs:[`ro`],nr:[1,2,20],fc:20},{lngs:[`sl`],nr:[5,1,2,3],fc:21},{lngs:[`he`,`iw`],nr:[1,2,20,21],fc:22}],eD={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e===0?2:1)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function tD(){var e={};return $E.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:eD[t.fc]}}))})),e}var Wfe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};CE(this,e),this.languageUtils=t,this.options=n,this.logger=ME.create(`pluralResolver`),this.rules=tD()}return TE(e,[{key:`addRule`,value:function(e,t){this.rules[e]=t}},{key:`getRule`,value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:`needsPlural`,value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:`getPluralFormsOfKey`,value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:`getSuffixes`,value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:`getSuffix`,value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),a=r.numbers[i];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(a===2?a=`plural`:a===1&&(a=``));var o=function(){return n.options.prepend&&a.toString()?n.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON===`v1`?a===1?``:typeof a==`number`?`_plural_${a.toString()}`:o():this.options.compatibilityJSON===`v2`||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?o():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn(`no plural rule found for: ${e}`),``}}]),e}(),Gfe=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};CE(this,e),this.logger=ME.create(`interpolator`),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return TE(e,[{key:`init`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||={escapeValue:!0};var t=e.interpolation;this.escape=t.escape===void 0?WE:t.escape,this.escapeValue=t.escapeValue===void 0||t.escapeValue,this.useRawValueToEscape=t.useRawValueToEscape!==void 0&&t.useRawValueToEscape,this.prefix=t.prefix?HE(t.prefix):t.prefixEscaped||`{{`,this.suffix=t.suffix?HE(t.suffix):t.suffixEscaped||`}}`,this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||`,`,this.unescapePrefix=t.unescapeSuffix?``:t.unescapePrefix||`-`,this.unescapeSuffix=this.unescapePrefix?``:t.unescapeSuffix||``,this.nestingPrefix=t.nestingPrefix?HE(t.nestingPrefix):t.nestingPrefixEscaped||HE(`$t(`),this.nestingSuffix=t.nestingSuffix?HE(t.nestingSuffix):t.nestingSuffixEscaped||HE(`)`),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||`,`,this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=t.alwaysFormat!==void 0&&t.alwaysFormat,this.resetRegExp()}},{key:`reset`,value:function(){this.options&&this.init(this.options)}},{key:`resetRegExp`,value:function(){var e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,`g`);var t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(t,`g`);var n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(n,`g`)}},{key:`interpolate`,value:function(e,t,n,r){var i,a,o,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,`$$$$`)}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=BE(t,c,e);return s.alwaysFormat?s.format(i,void 0,n,SE({},r,t,{interpolationkey:e})):i}var a=e.split(s.formatSeparator),o=a.shift().trim(),l=a.join(s.formatSeparator).trim();return s.format(BE(t,c,o),l,n,SE({},r,t,{interpolationkey:o}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}].forEach((function(t){for(o=0;i=t.regex.exec(e);){if((a=u(i[1].trim()))===void 0)if(typeof d==`function`){var n=d(e,i,r);a=typeof n==`string`?n:``}else{if(f){a=i[0];continue}s.logger.warn(`missed to pass in variable ${i[1]} for interpolating ${e}`),a=``}else typeof a==`string`||s.useRawValueToEscape||(a=FE(a));var c=t.safeValue(a);if(e=e.replace(i[0],c),f?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++o>=s.maxReplaces)break}})),e}},{key:`nest`,value:function(e,t){var n,r,i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=SE({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=(i=this.interpolate(i,o)).replace(/'/g,`"`);try{o=JSON.parse(i),t&&(o=SE({},t,o))}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return delete o.defaultValue,e}for(o.applyPostProcessor=!1,delete o.defaultValue;n=this.nestingRegexp.exec(e);){var c=[],l=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),c=u,l=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&typeof r!=`string`)return r;typeof r!=`string`&&(r=FE(r)),r||=(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),``),l&&(r=c.reduce((function(e,t){return i.format(e,t,a.lng,SE({},a,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),Kfe=function(e){function t(e,n,r){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return CE(this,t),i=DE(this,OE(t).call(this)),GE&&NE.call(EE(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=a,i.logger=ME.create(`backendConnector`),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,a.backend,a),i}return AE(t,NE),TE(t,[{key:`queueLoad`,value:function(e,t,n,r){var i=this,a=[],o=[],s=[],c=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s=`${e}|${t}`;!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(i.state[s]===1?o.indexOf(s)<0&&o.push(s):(i.state[s]=1,r=!1,o.indexOf(s)<0&&o.push(s),a.indexOf(s)<0&&a.push(s),c.indexOf(t)<0&&c.push(t)))})),r||s.push(e)})),(a.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:r}),{toLoad:a,pending:o,toLoadLanguages:s,toLoadNamespaces:c}}},{key:`loaded`,value:function(e,t,n){var r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),n&&this.store.addResourceBundle(i,a,n),this.state[e]=t?-1:2;var o={};this.queue.forEach((function(n){(function(e,t,n,r){var i=LE(e,t,Object),a=i.obj,o=i.k;a[o]=a[o]||[],a[o].push(n)})(n.loaded,[i],a),function(e,t){for(var n=e.indexOf(t);n!==-1;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),n.pending.length!==0||n.done||(Object.keys(n.loaded).forEach((function(e){o[e]||(o[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){o[e].indexOf(t)<0&&o[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit(`loaded`,o),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:`read`,value:function(e,t,n){var r=this,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,o=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,c){s&&c&&i<5?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*a,o)}),a):o(s,c)})):o(null,{})}},{key:`prepareLoading`,value:function(e,t){var n=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),i&&i();typeof e==`string`&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t==`string`&&(t=[t]);var a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:`load`,value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:`reload`,value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:`loadOne`,value:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,r=e.split(`|`),i=r[0],a=r[1];this.read(i,a,`read`,void 0,void 0,(function(r,o){r&&t.logger.warn(`${n}loading namespace ${a} for language ${i} failed`,r),!r&&o&&t.logger.log(`${n}loaded namespace ${a} for language ${i}`,o),t.loaded(e,r,o)}))}},{key:`saveMissing`,value:function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`):n!=null&&n!==``&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,SE({},a,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}();function qfe(){return{debug:!1,initImmediate:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(xE(e[1])===`object`&&(t=e[1]),typeof e[1]==`string`&&(t.defaultValue=e[1]),typeof e[2]==`string`&&(t.tDescription=e[2]),xE(e[2])===`object`||xE(e[3])===`object`){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!1}}}function nD(e){return typeof e.ns==`string`&&(e.ns=[e.ns]),typeof e.fallbackLng==`string`&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS==`string`&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf(`cimode`)<0&&(e.whitelist=e.whitelist.concat([`cimode`])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e}function rD(){}var iD=new(function(e){function t(){var e,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(CE(this,t),e=DE(this,OE(t).call(this)),GE&&NE.call(EE(e)),e.options=nD(n),e.services={},e.logger=ME,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),DE(e,EE(e));setTimeout((function(){e.init(n,r)}),0)}return e}return AE(t,NE),TE(t,[{key:`init`,value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?typeof e==`function`?new e:e:null}if(typeof t==`function`&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate(`whitelist`,`option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.`),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate(`whitelist`,`options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.`),this.options=SE({},qfe(),this.options,nD(t)),this.format=this.options.interpolation.format,n||=rD,!this.options.isClone){this.modules.logger?ME.init(r(this.modules.logger),this.options):ME.init(null,this.options);var i=new QE(this.options);this.store=new qE(this.options.resources,this.options);var a=this.services;a.logger=ME,a.resourceStore=this.store,a.languageUtils=i,a.pluralResolver=new Wfe(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new Gfe(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Kfe(r(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on(`*`,(function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(a.languageDetector=r(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=r(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new XE(this.services,this.options),this.translator.on(`*`,(function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var o=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);o.length>0&&o[0]!==`dev`&&(this.options.lng=o[0])}this.services.languageDetector||this.options.lng||this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var s=PE(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn(`init: i18next is already initialized. You should call init just once!`),e.isInitialized=!0,e.options.isClone||e.logger.log(`initialized`,e.options),e.emit(`initialized`,e.options),s.resolve(r),n(t,r)};if(e.languages&&e.options.compatibilityAPI!==`v1`&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),s}},{key:`loadResources`,value:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rD,r=typeof e==`string`?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&r.toLowerCase()===`cimode`)return n();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,n)}else n(null)}},{key:`reloadResources`,value:function(e,t,n){var r=PE();return e||=this.languages,t||=this.options.ns,n||=rD,this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:`use`,value:function(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&JE.addPostProcessor(e),e.type===`3rdParty`&&this.modules.external.push(e),this}},{key:`changeLanguage`,value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=PE();this.emit(`languageChanging`,e);var i=function(i){e||i||!n.services.languageDetector||(i=[]);var a=typeof i==`string`?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||(n.language=a,n.languages=n.services.languageUtils.toResolveHierarchy(a)),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){(function(e,i){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit(`languageChanged`,i),n.logger.log(`languageChanged`,i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))})(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:`getFixedT`,value:function(e,t,n){var r=this,i=function e(t,i){var a;if(xE(i)!==`object`){for(var o=arguments.length,s=Array(o>2?o-2:0),c=2;c<o;c++)s[c-2]=arguments[c];a=r.options.overloadTranslationOptionHandler([t,i].concat(s))}else a=SE({},i);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns;var l=r.options.keySeparator||`.`,u=n?`${n}${l}${t}`:t;return r.t(u,a)};return typeof e==`string`?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}},{key:`t`,value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:`exists`,value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:`setDefaultNamespace`,value:function(e){this.options.defaultNS=e}},{key:`hasLoadedNamespace`,value:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;var r=this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if(r.toLowerCase()===`cimode`)return!0;var o=function(e,n){var r=t.services.backendConnector.state[`${e}|${n}`];return r===-1||r===2};if(n.precheck){var s=n.precheck(this,o);if(s!==void 0)return s}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!o(r,e)||i&&!o(a,e))}},{key:`loadNamespaces`,value:function(e,t){var n=this,r=PE();return this.options.ns?(typeof e==`string`&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:`loadLanguages`,value:function(e,t){var n=PE();typeof e==`string`&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:`dir`,value:function(e){return e||=this.languages&&this.languages.length>0?this.languages[0]:this.language,e?`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam`.split(`.`).indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?`rtl`:`ltr`:`rtl`}},{key:`createInstance`,value:function(){return new t(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}},{key:`cloneInstance`,value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rD,i=SE({},this.options,n,{isClone:!0}),a=new t(i);return[`store`,`services`,`language`].forEach((function(t){a[t]=e[t]})),a.services=SE({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new XE(a.services,a.options),a.translator.on(`*`,(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(i,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:`toJSON`,value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}());function aD(e,t){iD.addResourceBundle(e,`translation`,t,!0,!0)}function Jfe(e){iD.changeLanguage(e)}iD.init({lng:`zh-CN`,resources:{}});var K=iD.t.bind(iD);aD(`en`,{editor:{more:`More`,justify:`Justify`,indent:`Indent`,image:`Image`,video:`Video`}}),aD(`zh-CN`,{editor:{more:`更多`,justify:`对齐`,indent:`缩进`,image:`图片`,video:`视频`}});var Yfe=cc?{}.toString:function(){return`[object `+lc(this)+`]`};cc||Js(Object.prototype,`toString`,Yfe,{unsafe:!0});var oD=Array.isArray||function(e){return Go(e)==`Array`},sD=function(){},Xfe=[],cD=Qo(`Reflect`,`construct`),lD=/^\s*(?:class|function)\b/,Zfe=Wo(lD.exec),Qfe=!lD.exec(sD),uD=function(e){if(!Xo(e))return!1;try{return cD(sD,Xfe,e),!0}catch{return!1}},$fe=!cD||Po((function(){var e;return uD(uD.call)||!uD(Object)||!uD((function(){e=!0}))||e}))?function(e){if(!Xo(e))return!1;switch(lc(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return Qfe||!!Zfe(lD,Fs(e))}:uD,epe=xs(`species`),dD=No.Array,tpe=function(e,t){return new(function(e){var t;return oD(e)&&(t=e.constructor,($fe(t)&&(t===dD||oD(t.prototype))||Zo(t)&&(t=t[epe])===null)&&(t=void 0)),t===void 0?dD:t}(e))(t===0?0:t)},fD=Wo([].push),pD=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=hs(c),h=qo(m),g=Bc(l,u),_=Qs(h),v=0,y=d||tpe,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:fD(b,f)}else switch(e){case 4:return!1;case 7:fD(b,f)}return a?-1:r||i?i:b}},npe={forEach:pD(0),map:pD(1),filter:pD(2),some:pD(3),every:pD(4),find:pD(5),findIndex:pD(6),filterReject:pD(7)}.forEach,mD=function(e,t){var n=[][e];return!!n&&Po((function(){n.call(null,t||function(){throw 1},1)}))}(`forEach`)?[].forEach:function(e){return npe(this,e,arguments.length>1?arguments[1]:void 0)},hD=function(e){if(e&&e.forEach!==mD)try{js(e,`forEach`,mD)}catch{e.forEach=mD}};for(var gD in _l)_l[gD]&&hD(No[gD]&&No[gD].prototype);hD(bl),aD(`en`,{common:{ok:`OK`,delete:`Delete`,enter:`Enter`},blockQuote:{title:`Quote`},codeBlock:{title:`Code block`},color:{color:`Font color`,bgColor:`Back color`,default:`Default color`,clear:`Clear back color`},divider:{title:`Divider`},emotion:{title:`Emotion`},fontSize:{title:`Font size`,default:`Default`},fontFamily:{title:`Font family`,default:`Default`},fullScreen:{title:`Full screen`},header:{title:`Header`,text:`Text`},image:{netImage:`Net image`,delete:`Delete image`,edit:`Edit image`,viewLink:`View link`,src:`Image src`,desc:`Description`,link:`Image link`},indent:{decrease:`Decrease`,increase:`Increase`},justify:{left:`Left`,right:`Right`,center:`Center`,justify:`Justify`},lineHeight:{title:`Line height`,default:`Default`},link:{insert:`Insert link`,text:`Link text`,url:`Link source`,unLink:`Unlink`,edit:`Edit link`,view:`View link`},textStyle:{bold:`Bold`,clear:`Clear styles`,code:`Inline code`,italic:`Italic`,sub:`Sub`,sup:`Sup`,through:`Through`,underline:`Underline`},undo:{undo:`undo`,redo:`Redo`},todo:{todo:`Todo`}}),aD(`zh-CN`,{common:{ok:`确定`,delete:`删除`,enter:`回车`},blockQuote:{title:`引用`},codeBlock:{title:`代码块`},color:{color:`文字颜色`,bgColor:`背景色`,default:`默认颜色`,clear:`清除背景色`},divider:{title:`分割线`},emotion:{title:`表情`},fontSize:{title:`字号`,default:`默认字号`},fontFamily:{title:`字体`,default:`默认字体`},fullScreen:{title:`全屏`},header:{title:`标题`,text:`正文`},image:{netImage:`网络图片`,delete:`删除图片`,edit:`编辑图片`,viewLink:`查看链接`,src:`图片地址`,desc:`图片描述`,link:`图片链接`},indent:{decrease:`减少缩进`,increase:`增加缩进`},justify:{left:`左对齐`,right:`右对齐`,center:`居中对齐`,justify:`两端对齐`},lineHeight:{title:`行高`,default:`默认行高`},link:{insert:`插入链接`,text:`链接文本`,url:`链接地址`,unLink:`取消链接`,edit:`修改链接`,view:`查看链接`},textStyle:{bold:`粗体`,clear:`清除格式`,code:`行内代码`,italic:`斜体`,sub:`下标`,sup:`上标`,through:`删除线`,underline:`下划线`},undo:{undo:`撤销`,redo:`重做`},todo:{todo:`待办`}});var rpe={type:`paragraph`,renderElem:function(e,t,n){return V(`p`,null,t)}},_D=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function vD(e){var t={exports:{}};return e(t,t.exports),t.exports}var yD,bD,xD=function(e){return e&&e.Math==Math&&e},SD=xD(typeof globalThis==`object`&&globalThis)||xD(typeof window==`object`&&window)||xD(typeof self==`object`&&self)||xD(typeof _D==`object`&&_D)||function(){return this}()||Function(`return this`)(),CD=function(e){try{return!!e()}catch{return!0}},wD=!CD((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),TD=Function.prototype.call,ED=TD.bind?TD.bind(TD):function(){return TD.apply(TD,arguments)},DD={}.propertyIsEnumerable,OD=Object.getOwnPropertyDescriptor,kD={f:OD&&!DD.call({1:2},1)?function(e){var t=OD(this,e);return!!t&&t.enumerable}:DD},AD=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},jD=Function.prototype,MD=jD.bind,ND=jD.call,ipe=MD&&MD.bind(ND),q=MD?function(e){return e&&ipe(ND,e)}:function(e){return e&&function(){return ND.apply(e,arguments)}},ape=q({}.toString),ope=q(``.slice),PD=function(e){return ope(ape(e),8,-1)},FD=SD.Object,spe=q(``.split),ID=CD((function(){return!FD(`z`).propertyIsEnumerable(0)}))?function(e){return PD(e)==`String`?spe(e,``):FD(e)}:FD,cpe=SD.TypeError,LD=function(e){if(e==null)throw cpe(`Can't call method on `+e);return e},RD=function(e){return ID(LD(e))},zD=function(e){return typeof e==`function`},BD=function(e){return typeof e==`object`?e!==null:zD(e)},lpe=function(e){return zD(e)?e:void 0},VD=function(e,t){return arguments.length<2?lpe(SD[e]):SD[e]&&SD[e][t]},HD=q({}.isPrototypeOf),UD=VD(`navigator`,`userAgent`)||``,WD=SD.process,GD=SD.Deno,KD=WD&&WD.versions||GD&&GD.version,qD=KD&&KD.v8;qD&&(bD=(yD=qD.split(`.`))[0]>0&&yD[0]<4?1:+(yD[0]+yD[1])),!bD&&UD&&(!(yD=UD.match(/Edge\/(\d+)/))||yD[1]>=74)&&(yD=UD.match(/Chrome\/(\d+)/))&&(bD=+yD[1]);var JD=bD,YD=!!Object.getOwnPropertySymbols&&!CD((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&JD&&JD<41})),XD=YD&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,upe=SD.Object,ZD=XD?function(e){return typeof e==`symbol`}:function(e){var t=VD(`Symbol`);return zD(t)&&HD(t.prototype,upe(e))},dpe=SD.String,QD=function(e){try{return dpe(e)}catch{return`Object`}},fpe=SD.TypeError,$D=function(e){if(zD(e))return e;throw fpe(QD(e)+` is not a function`)},eO=function(e,t){var n=e[t];return n==null?void 0:$D(n)},ppe=SD.TypeError,mpe=Object.defineProperty,tO=function(e,t){try{mpe(SD,e,{value:t,configurable:!0,writable:!0})}catch{SD[e]=t}return t},nO=SD[`__core-js_shared__`]||tO(`__core-js_shared__`,{}),rO=vD((function(e){(e.exports=function(e,t){return nO[e]||(nO[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),hpe=SD.Object,iO=function(e){return hpe(LD(e))},gpe=q({}.hasOwnProperty),aO=Object.hasOwn||function(e,t){return gpe(iO(e),t)},_pe=0,vpe=Math.random(),ype=q(1 .toString),oO=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+ype(++_pe+vpe,36)},sO=rO(`wks`),cO=SD.Symbol,lO=cO&&cO.for,bpe=XD?cO:cO&&cO.withoutSetter||oO,uO=function(e){if(!aO(sO,e)||!YD&&typeof sO[e]!=`string`){var t=`Symbol.`+e;YD&&aO(cO,e)?sO[e]=cO[e]:sO[e]=XD&&lO?lO(t):bpe(t)}return sO[e]},xpe=SD.TypeError,Spe=uO(`toPrimitive`),dO=function(e){var t=function(e,t){if(!BD(e)||ZD(e))return e;var n,r=eO(e,Spe);if(r){if(t===void 0&&(t=`default`),n=ED(r,e,t),!BD(n)||ZD(n))return n;throw xpe(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&zD(n=e.toString)&&!BD(r=ED(n,e))||zD(n=e.valueOf)&&!BD(r=ED(n,e))||t!==`string`&&zD(n=e.toString)&&!BD(r=ED(n,e)))return r;throw ppe(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return ZD(t)?t:t+``},fO=SD.document,Cpe=BD(fO)&&BD(fO.createElement),pO=function(e){return Cpe?fO.createElement(e):{}},mO=!wD&&!CD((function(){return Object.defineProperty(pO(`div`),`a`,{get:function(){return 7}}).a!=7})),hO=Object.getOwnPropertyDescriptor,gO={f:wD?hO:function(e,t){if(e=RD(e),t=dO(t),mO)try{return hO(e,t)}catch{}if(aO(e,t))return AD(!ED(kD.f,e,t),e[t])}},wpe=SD.String,Tpe=SD.TypeError,_O=function(e){if(BD(e))return e;throw Tpe(wpe(e)+` is not an object`)},Epe=SD.TypeError,vO=Object.defineProperty,yO={f:wD?vO:function(e,t,n){if(_O(e),t=dO(t),_O(n),mO)try{return vO(e,t,n)}catch{}if(`get`in n||`set`in n)throw Epe(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},bO=wD?function(e,t,n){return yO.f(e,t,AD(1,n))}:function(e,t,n){return e[t]=n,e},Dpe=q(Function.toString);zD(nO.inspectSource)||(nO.inspectSource=function(e){return Dpe(e)});var xO,SO,CO,wO=nO.inspectSource,TO=SD.WeakMap,Ope=zD(TO)&&/native code/.test(wO(TO)),EO=rO(`keys`),DO=function(e){return EO[e]||(EO[e]=oO(e))},OO={},kO=SD.TypeError,kpe=SD.WeakMap;if(Ope||nO.state){var AO=nO.state||=new kpe,Ape=q(AO.get),jO=q(AO.has),jpe=q(AO.set);xO=function(e,t){if(jO(AO,e))throw new kO(`Object already initialized`);return t.facade=e,jpe(AO,e,t),t},SO=function(e){return Ape(AO,e)||{}},CO=function(e){return jO(AO,e)}}else{var MO=DO(`state`);OO[MO]=!0,xO=function(e,t){if(aO(e,MO))throw new kO(`Object already initialized`);return t.facade=e,bO(e,MO,t),t},SO=function(e){return aO(e,MO)?e[MO]:{}},CO=function(e){return aO(e,MO)}}var NO={set:xO,get:SO,has:CO,enforce:function(e){return CO(e)?SO(e):xO(e,{})},getterFor:function(e){return function(t){var n;if(!BD(t)||(n=SO(t)).type!==e)throw kO(`Incompatible receiver, `+e+` required`);return n}}},PO=Function.prototype,Mpe=wD&&Object.getOwnPropertyDescriptor,FO=aO(PO,`name`),IO={EXISTS:FO,PROPER:FO&&function(){}.name===`something`,CONFIGURABLE:FO&&(!wD||wD&&Mpe(PO,`name`).configurable)},LO=vD((function(e){var t=IO.CONFIGURABLE,n=NO.get,r=NO.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;zD(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!aO(a,`name`)||t&&a.name!==d)&&bO(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===SD?l?e[n]=a:tO(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:bO(e,n,a))})(Function.prototype,`toString`,(function(){return zD(this)&&n(this).source||wO(this)}))})),Npe=Math.ceil,Ppe=Math.floor,RO=function(e){var t=+e;return t!=t||t===0?0:(t>0?Ppe:Npe)(t)},Fpe=Math.max,Ipe=Math.min,zO=function(e,t){var n=RO(e);return n<0?Fpe(n+t,0):Ipe(n,t)},Lpe=Math.min,BO=function(e){return e>0?Lpe(RO(e),9007199254740991):0},VO=function(e){return BO(e.length)},HO=function(e){return function(t,n,r){var i,a=RD(t),o=VO(a),s=zO(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},UO={includes:HO(!0),indexOf:HO(!1)},Rpe=UO.indexOf,WO=q([].push),GO=function(e,t){var n,r=RD(e),i=0,a=[];for(n in r)!aO(OO,n)&&aO(r,n)&&WO(a,n);for(;t.length>i;)aO(r,n=t[i++])&&(~Rpe(a,n)||WO(a,n));return a},KO=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],zpe=KO.concat(`length`,`prototype`),Bpe={f:Object.getOwnPropertyNames||function(e){return GO(e,zpe)}},qO={f:Object.getOwnPropertySymbols},Vpe=q([].concat),Hpe=VD(`Reflect`,`ownKeys`)||function(e){var t=Bpe.f(_O(e)),n=qO.f;return n?Vpe(t,n(e)):t},Upe=function(e,t){for(var n=Hpe(t),r=yO.f,i=gO.f,a=0;a<n.length;a++){var o=n[a];aO(e,o)||r(e,o,i(t,o))}},Wpe=/#|\.prototype\./,JO=function(e,t){var n=Kpe[Gpe(e)];return n==Jpe||n!=qpe&&(zD(t)?CD(t):!!t)},Gpe=JO.normalize=function(e){return String(e).replace(Wpe,`.`).toLowerCase()},Kpe=JO.data={},qpe=JO.NATIVE=`N`,Jpe=JO.POLYFILL=`P`,Ype=JO,Xpe=gO.f,YO=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?SD:l?SD[s]||tO(s,{}):(SD[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=Xpe(n,r))&&o.value:n[r],!Ype(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;Upe(a,i)}(e.sham||i&&i.sham)&&bO(a,`sham`,!0),LO(n,r,a,e)}},XO=q(q.bind),ZO=Array.isArray||function(e){return PD(e)==`Array`},QO={};QO[uO(`toStringTag`)]=`z`;var $O=String(QO)===`[object z]`,Zpe=uO(`toStringTag`),Qpe=SD.Object,$pe=PD(function(){return arguments}())==`Arguments`,ek=$O?PD:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=Qpe(e),Zpe))==`string`?n:$pe?PD(t):(r=PD(t))==`Object`&&zD(t.callee)?`Arguments`:r},tk=function(){},eme=[],nk=VD(`Reflect`,`construct`),rk=/^\s*(?:class|function)\b/,tme=q(rk.exec),nme=!rk.exec(tk),ik=function(e){if(!zD(e))return!1;try{return nk(tk,eme,e),!0}catch{return!1}},ak=!nk||CD((function(){var e;return ik(ik.call)||!ik(Object)||!ik((function(){e=!0}))||e}))?function(e){if(!zD(e))return!1;switch(ek(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return nme||!!tme(rk,wO(e))}:ik,rme=uO(`species`),ok=SD.Array,ime=function(e,t){return new(function(e){var t;return ZO(e)&&(t=e.constructor,(ak(t)&&(t===ok||ZO(t.prototype))||BD(t)&&(t=t[rme])===null)&&(t=void 0)),t===void 0?ok:t}(e))(t===0?0:t)},sk=q([].push),ck=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=iO(c),h=ID(m),g=function(e,t){return $D(e),t===void 0?e:XO?XO(e,t):function(){return e.apply(t,arguments)}}(l,u),_=VO(h),v=0,y=d||ime,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:sk(b,f)}else switch(e){case 4:return!1;case 7:sk(b,f)}return a?-1:r||i?i:b}},lk={forEach:ck(0),map:ck(1),filter:ck(2),some:ck(3),every:ck(4),find:ck(5),findIndex:ck(6),filterReject:ck(7)},ame=uO(`species`),uk=function(e){return JD>=51||!CD((function(){var t=[];return(t.constructor={})[ame]=function(){return{foo:1}},t[e](Boolean).foo!==1}))},ome=lk.filter;YO({target:`Array`,proto:!0,forced:!uk(`filter`)},{filter:function(e){return ome(this,e,arguments.length>1?arguments[1]:void 0)}});var sme=$O?{}.toString:function(){return`[object `+ek(this)+`]`};$O||LO(Object.prototype,`toString`,sme,{unsafe:!0});var dk,cme=SD.String,fk=function(e){if(ek(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return cme(e)},pk=function(){var e=_O(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},mk=SD.RegExp,hk=CD((function(){var e=mk(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),lme=hk||CD((function(){return!mk(`a`,`y`).sticky})),gk={BROKEN_CARET:hk||CD((function(){var e=mk(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:lme,UNSUPPORTED_Y:hk},_k=Object.keys||function(e){return GO(e,KO)},ume=wD?Object.defineProperties:function(e,t){_O(e);for(var n,r=RD(t),i=_k(t),a=i.length,o=0;a>o;)yO.f(e,n=i[o++],r[n]);return e},dme=VD(`document`,`documentElement`),vk=DO(`IE_PROTO`),yk=function(){},bk=function(e){return`<script>`+e+`<\/script>`},xk=function(e){e.write(bk(``)),e.close();var t=e.parentWindow.Object;return e=null,t},Sk=function(){try{dk=new ActiveXObject(`htmlfile`)}catch{}var e,t;Sk=typeof document<`u`?document.domain&&dk?xk(dk):((t=pO(`iframe`)).style.display=`none`,dme.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(bk(`document.F=Object`)),e.close(),e.F):xk(dk);for(var n=KO.length;n--;)delete Sk.prototype[KO[n]];return Sk()};OO[vk]=!0;var Ck,wk,Tk=Object.create||function(e,t){var n;return e===null?n=Sk():(yk.prototype=_O(e),n=new yk,yk.prototype=null,n[vk]=e),t===void 0?n:ume(n,t)},fme=SD.RegExp,pme=CD((function(){var e=fme(`.`,`s`);return!(e.dotAll&&e.exec(`
48
+ `)&&e.flags===`s`)})),mme=SD.RegExp,hme=CD((function(){var e=mme(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),gme=NO.get,_me=rO(`native-string-replace`,String.prototype.replace),Ek=RegExp.prototype.exec,Dk=Ek,vme=q(``.charAt),yme=q(``.indexOf),bme=q(``.replace),Ok=q(``.slice),kk=(wk=/b*/g,ED(Ek,Ck=/a/,`a`),ED(Ek,wk,`a`),Ck.lastIndex!==0||wk.lastIndex!==0),Ak=gk.BROKEN_CARET,jk=/()??/.exec(``)[1]!==void 0;(kk||jk||Ak||pme||hme)&&(Dk=function(e){var t,n,r,i,a,o,s,c=this,l=gme(c),u=fk(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=ED(Dk,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=Ak&&c.sticky,m=ED(pk,c),h=c.source,g=0,_=u;if(p&&(m=bme(m,`y`,``),yme(m,`g`)===-1&&(m+=`g`),_=Ok(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&vme(u,c.lastIndex-1)!==`
49
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),jk&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),kk&&(r=c.lastIndex),i=ED(Ek,p?n:c,_),p?i?(i.input=Ok(i.input,g),i[0]=Ok(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:kk&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),jk&&i&&i.length>1&&ED(_me,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=Tk(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var Mk=Dk;YO({target:`RegExp`,proto:!0,forced:/./.exec!==Mk},{exec:Mk});var Nk=Function.prototype,Pk=Nk.apply,Fk=Nk.bind,Ik=Nk.call,Lk=typeof Reflect==`object`&&Reflect.apply||(Fk?Ik.bind(Pk):function(){return Ik.apply(Pk,arguments)}),Rk=uO(`species`),zk=RegExp.prototype,Bk=function(e,t,n,r){var i=uO(e),a=!CD((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!CD((function(){var t=!1,n=/a/;return e===`split`&&((n={}).constructor={},n.constructor[Rk]=function(){return n},n.flags=``,n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](``),!t}));if(!a||!o||n){var s=q(/./[i]),c=t(i,``[e],(function(e,t,n,r,i){var o=q(e),c=t.exec;return c===Mk||c===zk.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));LO(String.prototype,e,c[0]),LO(zk,i,c[1])}r&&bO(zk[i],`sham`,!0)},Vk=q(``.charAt),Hk=q(``.charCodeAt),Uk=q(``.slice),Wk=function(e){return function(t,n){var r,i,a=fk(LD(t)),o=RO(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=Hk(a,o))<55296||r>56319||o+1===s||(i=Hk(a,o+1))<56320||i>57343?e?Vk(a,o):r:e?Uk(a,o,o+2):i-56320+(r-55296<<10)+65536}}(!0),Gk=function(e,t,n){return t+(n?Wk(e,t).length:1)},Kk=Math.floor,qk=q(``.charAt),Jk=q(``.replace),Yk=q(``.slice),Xk=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Zk=/\$([$&'`]|\d{1,2})/g,Qk=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,c=Zk;return i!==void 0&&(i=iO(i),c=Xk),Jk(a,c,(function(a,c){var l;switch(qk(c,0)){case`$`:return`$`;case`&`:return e;case"`":return Yk(t,0,n);case`'`:return Yk(t,o);case`<`:l=i[Yk(c,1,-1)];break;default:var u=+c;if(u===0)return a;if(u>s){var d=Kk(u/10);return d===0?a:d<=s?r[d-1]===void 0?qk(c,1):r[d-1]+qk(c,1):a}l=r[u-1]}return l===void 0?``:l}))},$k=SD.TypeError,eA=function(e,t){var n=e.exec;if(zD(n)){var r=ED(n,e,t);return r!==null&&_O(r),r}if(PD(e)===`RegExp`)return ED(Mk,e,t);throw $k(`RegExp#exec called on incompatible receiver`)},tA=uO(`replace`),nA=Math.max,rA=Math.min,iA=q([].concat),aA=q([].push),oA=q(``.indexOf),sA=q(``.slice),cA=`a`.replace(/./,`$0`)===`$0`,lA=!!/./[tA]&&/./[tA](`a`,`$0`)===``;Bk(`replace`,(function(e,t,n){var r=lA?`$`:`$0`;return[function(e,n){var r=LD(this),i=e==null?void 0:eO(e,tA);return i?ED(i,e,r,n):ED(t,fk(r),e,n)},function(e,i){var a=_O(this),o=fk(e);if(typeof i==`string`&&oA(i,r)===-1&&oA(i,`$<`)===-1){var s=n(t,a,o,i);if(s.done)return s.value}var c=zD(i);c||(i=fk(i));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var d=[];;){var f=eA(a,o);if(f===null||(aA(d,f),!l))break;fk(f[0])===``&&(a.lastIndex=Gk(o,BO(a.lastIndex),u))}for(var p,m=``,h=0,g=0;g<d.length;g++){for(var _=fk((f=d[g])[0]),v=nA(rA(RO(f.index),o.length),0),y=[],b=1;b<f.length;b++)aA(y,(p=f[b])===void 0?p:String(p));var x=f.groups;if(c){var S=iA([_],y,v,o);x!==void 0&&aA(S,x);var C=fk(Lk(i,void 0,S))}else C=Qk(_,o,v,y,x,i);v>=h&&(m+=sA(o,h,v)+C,h=v+_.length)}return m+sA(o,h)}]}),!!CD((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}))||!cA||lA);var uA=uO(`unscopables`),dA=Array.prototype;dA[uA]??yO.f(dA,uA,{configurable:!0,value:Tk(null)});var fA=function(e){dA[uA][e]=!0},pA=lk.find,mA=!0;`find`in[]&&[,].find((function(){mA=!1})),YO({target:`Array`,proto:!0,forced:mA},{find:function(e){return pA(this,e,arguments.length>1?arguments[1]:void 0)}}),fA(`find`);var hA=uO(`match`),gA=function(e){var t;return BD(e)&&((t=e[hA])===void 0?PD(e)==`RegExp`:!!t)},_A=SD.TypeError,vA=uO(`species`),yA=function(e,t,n){var r=dO(t);r in e?yO.f(e,r,AD(0,n)):e[r]=n},bA=SD.Array,xA=Math.max,SA=function(e,t,n){for(var r=VO(e),i=zO(t,r),a=zO(n===void 0?r:n,r),o=bA(xA(a-i,0)),s=0;i<a;i++,s++)yA(o,s,e[i]);return o.length=s,o},CA=gk.UNSUPPORTED_Y,wA=Math.min,TA=[].push,EA=q(/./.exec),DA=q(TA),OA=q(``.slice);Bk(`split`,(function(e,t,n){var r;return r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r=fk(LD(this)),i=n===void 0?4294967295:n>>>0;if(i===0)return[];if(e===void 0)return[r];if(!gA(e))return ED(t,r,e,i);for(var a,o,s,c=[],l=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),u=0,d=new RegExp(e.source,l+`g`);(a=ED(Mk,d,r))&&!((o=d.lastIndex)>u&&(DA(c,OA(r,u,a.index)),a.length>1&&a.index<r.length&&Lk(TA,c,SA(a,1)),s=a[0].length,u=o,c.length>=i));)d.lastIndex===a.index&&d.lastIndex++;return u===r.length?!s&&EA(d,``)||DA(c,``):DA(c,OA(r,u)),c.length>i?SA(c,0,i):c}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:ED(t,this,e,n)}:t,[function(t,n){var i=LD(this),a=t==null?void 0:eO(t,e);return a?ED(a,t,i,n):ED(r,fk(i),t,n)},function(e,i){var a=_O(this),o=fk(e),s=n(r,a,o,i,r!==t);if(s.done)return s.value;var c=function(e,t){var n,r=_O(e).constructor;return r===void 0||(n=_O(r)[vA])==null?t:function(e){if(ak(e))return e;throw _A(QD(e)+` is not a constructor`)}(n)}(a,RegExp),l=a.unicode,u=(a.ignoreCase?`i`:``)+(a.multiline?`m`:``)+(a.unicode?`u`:``)+(CA?`g`:`y`),d=new c(CA?`^(?:`+a.source+`)`:a,u),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o.length===0)return eA(d,o)===null?[o]:[];for(var p=0,m=0,h=[];m<o.length;){d.lastIndex=CA?0:m;var g,_=eA(d,CA?OA(o,m):o);if(_===null||(g=wA(BO(d.lastIndex+(CA?m:0)),o.length))===p)m=Gk(o,m,l);else{if(DA(h,OA(o,p,m)),h.length===f)return h;for(var v=1;v<=_.length-1;v++)if(DA(h,_[v]),h.length===f)return h;m=p=g}}return DA(h,OA(o,p)),h}]}),!!CD((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`})),CA);var kA=`
50
+ \v\f\r \xA0               \u2028\u2029`,AA=q(``.replace),jA=`[`+kA+`]`,MA=RegExp(`^`+jA+jA+`*`),NA=RegExp(jA+jA+`*$`),PA=function(e){return function(t){var n=fk(LD(t));return 1&e&&(n=AA(n,MA,``)),2&e&&(n=AA(n,NA,``)),n}},FA={start:PA(1),end:PA(2),trim:PA(3)},IA=IO.PROPER,LA=FA.trim;function RA(e){return B(`<div>`+e+`</div>`).children().filter((function(e){return e.tagName!==`BR`})).length===0}function zA(e){return e.length===0?``:e[0].outerHTML}function BA(e){return e.length?e[0].tagName.toLowerCase():``}function VA(e,t){for(var n=``,r=(e.attr(`style`)||``).split(`;`),i=r.length,a=0;a<i;a++){var o=r[a];if(o){var s=o.split(`:`);s[0].trim()===t&&(n=s[1].trim())}}return n}YO({target:`String`,proto:!0,forced:CD((function(){return!!kA.trim()||IA&&kA.trim.name!==`trim`}))},{trim:function(){return LA(this)}}),YO({global:!0},{globalThis:SD}),Mp&&(B.fn.css=Mp),Rp&&(B.fn.append=Rp),zp&&(B.fn.prepend=zp),vp&&(B.fn.addClass=vp),yp&&(B.fn.removeClass=yp),bp&&(B.fn.hasClass=bp),Tp&&(B.fn.on=Tp),Ep&&(B.fn.off=Ep),Jp&&(B.fn.focus=Jp),xp&&(B.fn.attr=xp),Sp&&(B.fn.removeAttr=Sp),Ap&&(B.fn.hide=Ap),jp&&(B.fn.show=jp),Vp&&(B.fn.parents=Vp),Cp&&(B.fn.dataset=Cp),wp&&(B.fn.val=wp),Ip&&(B.fn.text=Ip),Fp&&(B.fn.html=Fp),Up&&(B.fn.children=Up),Wp&&(B.fn.remove=Wp),Hp&&(B.fn.find=Hp),Dp&&(B.fn.width=Dp),Op&&(B.fn.height=Op),Pp&&(B.fn.filter=Pp),Gp&&(B.fn.empty=Gp);var HA={selector:`p:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);return(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]),{type:`paragraph`,children:t}}},UA=function(e,t){return UA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},UA(e,t)};function WA(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}UA(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var GA=function(){return GA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},GA.apply(this,arguments)};function KA(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}function qA(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||a[0]!==6&&a[0]!==2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function JA(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function YA(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function XA(e){var t=YA(P.nodes(e,{match:function(t){return e.children[0]===t},mode:`highest`}),1)[0];if(t==null)return!1;var n=t[0];if(!N.isElement(n)||n.type===`paragraph`||F.string(n)!==``)return!1;var r=n.children,i=r===void 0?[]:r;return!!R.isText(i[0])&&(z.setNodes(e,{type:`paragraph`}),!0)}var ZA={renderElems:[rpe],elemsToHtml:[{type:`paragraph`,elemToHtml:function(e,t){return t===``?`<p><br></p>`:`<p>`+t+`</p>`}}],parseElemsHtml:[HA],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){XA(r)||t(e)},r.deleteForward=function(e){XA(r)||n(e)},r}},QA=/"/g,$A=q(``.replace),ej=function(e,t,n,r){var i=fk(LD(e)),a=`<`+t;return n!==``&&(a+=` `+n+`="`+$A(fk(r),QA,`&quot;`)+`"`),a+`>`+i+`</`+t+`>`},tj=function(e){return CD((function(){var t=``[e](`"`);return t!==t.toLowerCase()||t.split(`"`).length>3}))};function nj(e,t){var n=t,r=e,i=r.bold,a=r.italic,o=r.underline;return i&&(n=`<strong>`+n+`</strong>`),r.code&&(n=`<code>`+n+`</code>`),a&&(n=`<em>`+n+`</em>`),o&&(n=`<u>`+n+`</u>`),r.through&&(n=`<s>`+n+`</s>`),r.sub&&(n=`<sub>`+n+`</sub>`),r.sup&&(n=`<sup>`+n+`</sup>`),n}function rj(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}YO({target:`String`,proto:!0,forced:tj(`bold`)},{bold:function(){return ej(this,`b`,``,``)}}),YO({target:`String`,proto:!0,forced:tj(`italics`)},{italics:function(){return ej(this,`i`,``,``)}}),YO({target:`String`,proto:!0,forced:tj(`sub`)},{sub:function(){return ej(this,`sub`,``,``)}}),YO({target:`String`,proto:!0,forced:tj(`sup`)},{sup:function(){return ej(this,`sup`,``,``)}});var ij={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},aj=pO(`span`).classList,oj=aj&&aj.constructor&&aj.constructor.prototype,sj=oj===Object.prototype?void 0:oj,cj=function(e,t){var n=[][e];return!!n&&CD((function(){n.call(null,t||function(){throw 1},1)}))},lj=lk.forEach,uj=cj(`forEach`)?[].forEach:function(e){return lj(this,e,arguments.length>1?arguments[1]:void 0)},dj=function(e){if(e&&e.forEach!==uj)try{bO(e,`forEach`,uj)}catch{e.forEach=uj}};for(var fj in ij)ij[fj]&&dj(SD[fj]&&SD[fj].prototype);function pj(e,t){return e.selection==null||!!YA(P.nodes(e,{match:function(t){return G.getNodeType(t)===`pre`||!!P.isVoid(e,t)},universal:!0}),1)[0]}function mj(e,t){Object.keys(t).forEach((function(t){t!==`text`&&P.removeMark(e,t)}))}dj(sj),YO({target:`Object`,stat:!0,forced:CD((function(){_k(1)}))},{keys:function(e){return _k(iO(e))}});var hj=function(){function e(){this.marksNeedToRemove=[],this.tag=`button`}return e.prototype.getValue=function(e){var t=this.mark,n=P.marks(e);return n?n[t]:!!YA(P.nodes(e,{match:function(e){return!0===e[t]}}),1)[0]},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return pj(e,this.mark)},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach((function(t){return e.removeMark(t)})))},e}(),gj=`<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>`,_j=`<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>`,vj=`<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>`,yj=`<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>`,bj=`<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>`,xj=`<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>`,Sj=`<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>`,Cj=`<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>`,wj=`<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>`,Tj=`<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>`,Ej=`<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>`,Dj=`<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>`,Oj=`<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>`,kj=`<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>`,Aj=`<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>`,jj=`<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>`,Mj=`<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>`,Nj=`<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>`,Pj=`<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>`,Fj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`bold`,t.title=K(`textStyle.bold`),t.iconSvg=gj,t.hotkey=`mod+b`,t}return WA(t,e),t}(hj),Ij=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`code`,t.title=K(`textStyle.code`),t.iconSvg=bj,t.hotkey=`mod+e`,t}return WA(t,e),t}(hj),Lj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`italic`,t.title=K(`textStyle.italic`),t.iconSvg=vj,t.hotkey=`mod+i`,t}return WA(t,e),t}(hj),Rj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`through`,t.title=K(`textStyle.through`),t.iconSvg=yj,t.hotkey=`mod+shift+x`,t}return WA(t,e),t}(hj),zj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`underline`,t.title=K(`textStyle.underline`),t.iconSvg=_j,t.hotkey=`mod+u`,t}return WA(t,e),t}(hj),Bj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`sub`,t.marksNeedToRemove=[`sup`],t.title=K(`textStyle.sub`),t.iconSvg=Pj,t.hotkey=``,t}return WA(t,e),t}(hj),Vj=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.mark=`sup`,t.marksNeedToRemove=[`sub`],t.title=K(`textStyle.sup`),t.iconSvg=Nj,t.hotkey=``,t}return WA(t,e),t}(hj),Hj=function(){function e(){this.title=K(`textStyle.clear`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return pj(e)},e.prototype.exec=function(e,t){var n,r,i=P.nodes(e,{match:function(e){return R.isText(e)},universal:!0});try{for(var a=JA(i),o=a.next();!o.done;o=a.next())mj(e,o.value[0])}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}},e}(),Uj={renderStyle:function(e,t){var n=e,r=n.bold,i=n.italic,a=n.underline,o=n.code,s=n.through,c=n.sub,l=n.sup,u=t;return r&&(u=V(`strong`,null,u)),o&&(u=V(`code`,null,u)),i&&(u=V(`em`,null,u)),a&&(u=V(`u`,null,u)),s&&(u=V(`s`,null,u)),c&&(u=V(`sub`,null,u)),l&&(u=V(`sup`,null,u)),u},menus:[{key:`bold`,factory:function(){return new Fj}},{key:`underline`,factory:function(){return new zj}},{key:`italic`,factory:function(){return new Lj}},{key:`through`,factory:function(){return new Rj}},{key:`code`,factory:function(){return new Ij}},{key:`sub`,factory:function(){return new Bj}},{key:`sup`,factory:function(){return new Vj}},{key:`clearStyle`,factory:function(){return new Hj}}],styleToHtml:function(e,t){if(!R.isText(e))return t;if(RA(t))return nj(e,t);var n=B(t);if(BA(n)===`br`)return nj(e,`<br>`);var r=n.html();return r=nj(e,r),n.html(r),zA(n)},parseStyleHtml:function(e,t,n){var r=B(e);if(!R.isText(t))return t;var i=t;return rj(r,`b,strong`)&&(i.bold=!0),rj(r,`i,em`)&&(i.italic=!0),rj(r,`u`)&&(i.underline=!0),rj(r,`s,strike`)&&(i.through=!0),rj(r,`sub`)&&(i.sub=!0),rj(r,`sup`)&&(i.sup=!0),rj(r,`code`)&&(i.code=!0),i}};function Wj(e){return function(t,n,r){return V(`h`+e,null,n)}}var xme={type:`header1`,renderElem:Wj(1)},Sme={type:`header2`,renderElem:Wj(2)},Cme={type:`header3`,renderElem:Wj(3)},wme={type:`header4`,renderElem:Wj(4)},Tme={type:`header5`,renderElem:Wj(5)},Eme=IO.PROPER,Gj=RegExp.prototype,Kj=Gj.toString,Dme=q(pk),Ome=CD((function(){return Kj.call({source:`a`,flags:`b`})!=`/a/b`})),kme=Eme&&Kj.name!=`toString`;(Ome||kme)&&LO(RegExp.prototype,`toString`,(function(){var e=_O(this),t=fk(e.source),n=e.flags;return`/`+t+`/`+fk(n===void 0&&HD(Gj,e)&&!(`flags`in Gj)?Dme(e):n)}),{unsafe:!0});var qj,Ame=SD.TypeError,Jj=function(e){if(gA(e))throw Ame(`The method doesn't accept regular expressions`);return e},jme=uO(`match`),Yj=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[jme]=!1,`/./`[e](t)}catch{}}return!1},Mme=gO.f,Xj=q(``.startsWith),Nme=q(``.slice),Pme=Math.min,Zj=Yj(`startsWith`);function Qj(e){var t=YA(P.nodes(e,{match:function(e){return G.getNodeType(e).startsWith(`header`)},universal:!0}),1)[0];if(t==null)return`paragraph`;var n=YA(t,1)[0];return G.getNodeType(n)}function $j(e){return e.selection==null||!YA(P.nodes(e,{match:function(e){var t=G.getNodeType(e);return t===`paragraph`||!!t.startsWith(`header`)},universal:!0,mode:`highest`}),1)[0]}function eM(e,t){t&&z.setNodes(e,{type:t})}YO({target:`String`,proto:!0,forced:!(!Zj&&(qj=Mme(String.prototype,`startsWith`),qj&&!qj.writable)||Zj)},{startsWith:function(e){var t=fk(LD(this));Jj(e);var n=BO(Pme(arguments.length>1?arguments[1]:void 0,t.length)),r=fk(e);return Xj?Xj(t,r,n):Nme(t,n,n+r.length)===r}});var Fme=function(){function e(){this.title=K(`header.title`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>`,this.tag=`select`,this.width=60}return e.prototype.getOptions=function(e){var t=[{value:`header1`,text:`H1`,styleForRenderMenuList:{"font-size":`32px`,"font-weight":`bold`}},{value:`header2`,text:`H2`,styleForRenderMenuList:{"font-size":`24px`,"font-weight":`bold`}},{value:`header3`,text:`H3`,styleForRenderMenuList:{"font-size":`18px`,"font-weight":`bold`}},{value:`header4`,text:`H4`,styleForRenderMenuList:{"font-size":`16px`,"font-weight":`bold`}},{value:`header5`,text:`H5`,styleForRenderMenuList:{"font-size":`13px`,"font-weight":`bold`}},{value:`paragraph`,text:K(`header.text`)}],n=this.getValue(e).toString();return t.forEach((function(e){e.value===n?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){return Qj(e)},e.prototype.isDisabled=function(e){return $j(e)},e.prototype.exec=function(e,t){eM(e,t.toString())},e}(),tM=function(){function e(){this.tag=`button`}return e.prototype.getValue=function(e){return Qj(e)},e.prototype.isActive=function(e){return this.getValue(e)===this.type},e.prototype.isDisabled=function(e){return $j(e)},e.prototype.exec=function(e,t){var n=this.type;eM(e,t===n?`paragraph`:n)},e}(),Ime=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`H1`,t.type=`header1`,t}return WA(t,e),t}(tM),Lme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`H2`,t.type=`header2`,t}return WA(t,e),t}(tM),Rme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`H3`,t.type=`header3`,t}return WA(t,e),t}(tM),zme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`H4`,t.type=`header4`,t}return WA(t,e),t}(tM),Bme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`H5`,t.type=`header5`,t}return WA(t,e),t}(tM),Vme={key:`headerSelect`,factory:function(){return new Fme}},Hme={key:`header1`,factory:function(){return new Ime}},Ume={key:`header2`,factory:function(){return new Lme}},Wme={key:`header3`,factory:function(){return new Rme}},Gme={key:`header4`,factory:function(){return new zme}},Kme={key:`header5`,factory:function(){return new Bme}};function nM(e){return function(t,n){return`<h`+e+`>`+n+`</h`+e+`>`}}function rM(e){return function(t,n,r){var i=B(t);return(n=n.filter((function(e){return!!R.isText(e)||!!r.isInline(e)}))).length===0&&(n=[{text:i.text().replace(/\s+/gm,` `)}]),{type:`header`+e,children:n}}}var qme={renderElems:[xme,Sme,Cme,wme,Tme],elemsToHtml:[{type:`header1`,elemToHtml:nM(1)},{type:`header2`,elemToHtml:nM(2)},{type:`header3`,elemToHtml:nM(3)},{type:`header4`,elemToHtml:nM(4)},{type:`header5`,elemToHtml:nM(5)}],parseElemsHtml:[{selector:`h1:not([data-w-e-type])`,parseElemHtml:rM(1)},{selector:`h2:not([data-w-e-type])`,parseElemHtml:rM(2)},{selector:`h3:not([data-w-e-type])`,parseElemHtml:rM(3)},{selector:`h4:not([data-w-e-type])`,parseElemHtml:rM(4)},{selector:`h5:not([data-w-e-type])`,parseElemHtml:rM(5)}],menus:[Vme,Hme,Ume,Wme,Gme,Kme],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=YA(P.nodes(n,{match:function(e){return G.getNodeType(e).startsWith(`header`)},universal:!0}),1)[0];r&&G.isSelectionAtLineEnd(e,r[1])?z.insertNodes(n,{type:`paragraph`,children:[{text:``}]},{mode:`highest`}):t()},n}},iM=Object.assign,aM=Object.defineProperty,Jme=q([].concat),oM=!iM||CD((function(){if(wD&&iM({b:1},iM(aM({},`a`,{enumerable:!0,get:function(){aM(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r=`abcdefghijklmnopqrst`;return e[n]=7,r.split(``).forEach((function(e){t[e]=e})),iM({},e)[n]!=7||_k(iM({},t)).join(``)!=r}))?function(e,t){for(var n=iO(e),r=arguments.length,i=1,a=qO.f,o=kD.f;r>i;)for(var s,c=ID(arguments[i++]),l=a?Jme(_k(c),a(c)):_k(c),u=l.length,d=0;u>d;)s=l[d++],wD&&!ED(o,c,s)||(n[s]=c[s]);return n}:iM;function sM(e,t){e.data??={};var n=e.data;n.style??={},Object.assign(n.style,t)}YO({target:`Object`,stat:!0,forced:Object.assign!==oM},{assign:oM});var Yme={selector:`font`,preParseHtml:function(e){var t=B(e);if(BA(t)!==`font`)return e;var n=t.attr(`color`)||``;return n&&(t.removeAttr(`color`),t.css(`color`,n)),t[0]}},cM=function(){function e(){this.tag=`button`,this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=P.marks(e);return n&&n[t]?n[t]:``},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return e.selection==null||!!YA(P.nodes(e,{match:function(t){return G.getNodeType(t)===`pre`||!!P.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(this.$content==null){var n=B(`<ul class="w-e-panel-content-color"></ul>`);n.on(`click`,`li`,(function(n){var r=n.target;if(r!=null&&(n.preventDefault(),e.selection!=null)){var i=B(r).attr(`data-value`);i===`0`?P.removeMark(e,t):P.addMark(e,t,i)}})),this.$content=n}var r=this.$content;if(r==null)return document.createElement(`ul`);r.empty();var i=this.getValue(e),a=e.getMenuConfig(t).colors;(a===void 0?[]:a).forEach((function(e){var t=B(`<div class="color-block" data-value="`+e+`"></div>`);t.css(`background-color`,e);var n=B(`<li data-value="`+e+`"></li>`);i===e&&n.addClass(`active`),n.append(t),r.append(n)}));var o=``;t===`color`&&(o=K(`color.default`)),t===`bgColor`&&(o=K(`color.clear`));var s=B(`
51
+ <li data-value="0" class="clear">
52
+ <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
53
+ `+o+`
54
+ </li>
55
+ `);return r.prepend(s),r[0]},e}(),Xme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`color.color`),t.iconSvg=Cj,t.mark=`color`,t}return WA(t,e),t}(cM),Zme=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`color.bgColor`),t.iconSvg=wj,t.mark=`bgColor`,t}return WA(t,e),t}(cM),lM=`rgb(0, 0, 0).rgb(38, 38, 38).rgb(89, 89, 89).rgb(140, 140, 140).rgb(191, 191, 191).rgb(217, 217, 217).rgb(233, 233, 233).rgb(245, 245, 245).rgb(250, 250, 250).rgb(255, 255, 255).rgb(225, 60, 57).rgb(231, 95, 51).rgb(235, 144, 58).rgb(245, 219, 77).rgb(114, 192, 64).rgb(89, 191, 192).rgb(66, 144, 247).rgb(54, 88, 226).rgb(106, 57, 201).rgb(216, 68, 147).rgb(251, 233, 230).rgb(252, 237, 225).rgb(252, 239, 212).rgb(252, 251, 207).rgb(231, 246, 213).rgb(218, 244, 240).rgb(217, 237, 250).rgb(224, 232, 250).rgb(237, 225, 248).rgb(246, 226, 234).rgb(255, 163, 158).rgb(255, 187, 150).rgb(255, 213, 145).rgb(255, 251, 143).rgb(183, 235, 143).rgb(135, 232, 222).rgb(145, 213, 255).rgb(173, 198, 255).rgb(211, 173, 247).rgb(255, 173, 210).rgb(255, 77, 79).rgb(255, 122, 69).rgb(255, 169, 64).rgb(255, 236, 61).rgb(115, 209, 61).rgb(54, 207, 201).rgb(64, 169, 255).rgb(89, 126, 247).rgb(146, 84, 222).rgb(247, 89, 171).rgb(207, 19, 34).rgb(212, 56, 13).rgb(212, 107, 8).rgb(212, 177, 6).rgb(56, 158, 13).rgb(8, 151, 156).rgb(9, 109, 217).rgb(29, 57, 196).rgb(83, 29, 171).rgb(196, 29, 127).rgb(130, 0, 20).rgb(135, 20, 0).rgb(135, 56, 0).rgb(97, 71, 0).rgb(19, 82, 0).rgb(0, 71, 79).rgb(0, 58, 140).rgb(6, 17, 120).rgb(34, 7, 94).rgb(120, 6, 80)`.split(`.`),Qme={renderStyle:function(e,t){var n=e,r=n.color,i=n.bgColor,a=t;return r&&sM(a,{color:r}),i&&sM(a,{backgroundColor:i}),a},styleToHtml:function(e,t){if(!R.isText(e))return t;var n,r=e,i=r.color,a=r.bgColor;return i||a?((RA(t)||BA(n=B(t))!==`span`)&&(n=B(`<span>`+t+`</span>`)),i&&n.css(`color`,i),a&&n.css(`background-color`,a),zA(n)):t},preParseHtml:[Yme],parseStyleHtml:function(e,t,n){var r=B(e);if(!R.isText(t))return t;var i=t,a=VA(r,`color`);a&&(i.color=a);var o=VA(r,`background-color`);return o||=VA(r,`background`),o&&(i.bgColor=o),i},menus:[{key:`color`,factory:function(){return new Xme},config:{colors:lM}},{key:`bgColor`,factory:function(){return new Zme},config:{colors:lM}}]},$me=/^(?:\w+:)?\/\/(\S+)$/,ehe=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,the=/^[^\s\.]+\.\S{2,}$/,nhe=UO.includes;function uM(e){return e===void 0&&(e=`r`),e+`-`+rm()}function dM(e){return e.replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function fM(e,t,n,r){return KA(this,void 0,void 0,(function(){var i,a;return qA(this,(function(o){switch(o.label){case 0:return(i=t.getMenuConfig(e).checkLink)?[4,i(n,r)]:[3,2];case 1:if(typeof(a=o.sent())==`string`)return t.alert(a,`error`),[2,!1];if(a==null)return[2,!1];o.label=2;case 2:return[2,!0]}}))}))}function pM(e,t,n){return KA(this,void 0,void 0,(function(){var r;return qA(this,(function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}}))}))}function mM(e){return e.selection==null||!!G.getSelectedElems(e).some((function(t){var n=t.type;return!!e.isVoid(t)||!![`pre`,`code`,`link`].includes(n)||void 0}))}function hM(e,t){return{type:`link`,url:dM(e),children:t?[{text:t}]:[]}}function gM(e,t,n){return KA(this,void 0,void 0,(function(){var r,i,a;return qA(this,(function(o){switch(o.label){case 0:return n?(t||=n,e.restoreSelection(),mM(e)?[2]:[4,fM(`insertLink`,e,t,n)]):[2];case 1:return o.sent()?[4,pM(`insertLink`,e,n)]:[2];case 2:return r=o.sent(),(i=e.selection)==null||(L.isCollapsed(i)?(e.insertText(` `),a=hM(r,t),z.insertNodes(e,a),e.insertFragment([{text:` `}])):P.string(e,i)===t?(a=hM(r),z.wrapNodes(e,a,{split:!0}),z.collapse(e,{edge:`end`})):(e.deleteFragment(),a=hM(r,t),z.insertNodes(e,a))),[2]}}))}))}YO({target:`Array`,proto:!0},{includes:function(e){return nhe(this,e,arguments.length>1?arguments[1]:void 0)}}),fA(`includes`);var rhe={type:`link`,renderElem:function(e,t,n){var r=e,i=r.url,a=r.target;return V(`a`,{href:i,target:a===void 0?`_blank`:a},t)}},ihe={selector:`a:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);return(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]),{type:`link`,url:r.attr(`href`)||``,target:r.attr(`target`)||``,children:t}}};function _M(){return uM(`w-e-insert-link`)}var ahe=function(){function e(){this.title=K(`link.insert`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>`,this.tag=`button`,this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=_M(),this.urlInputId=_M(),this.buttonId=_M()}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return mM(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this,r=n.textInputId,i=n.urlInputId,a=n.buttonId,o=YA(dE(K(`link.text`),r),2),s=o[0],c=B(o[1]),l=YA(dE(K(`link.url`),i),2),u=l[0],d=B(l[1]),f=YA(fE(a,K(`common.ok`)),1)[0];if(this.$content==null){var p=B(`<div></div>`);p.on(`click`,`#`+a,(function(t){t.preventDefault(),gM(e,p.find(`#`+r).val(),p.find(`#`+i).val()),e.hidePanelOrModal()})),this.$content=p}var m=this.$content;if(m.empty(),m.append(s),m.append(u),m.append(f),t==null||L.isCollapsed(t))c.val(``);else{var h=P.string(e,t);c.val(h)}return d.val(``),setTimeout((function(){c.focus()})),m[0]},e}();function vM(){return uM(`w-e-update-link`)}var ohe=function(){function e(){this.title=K(`link.edit`),this.iconSvg=xj,this.tag=`button`,this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=vM(),this.buttonId=vM()}return e.prototype.getSelectedLinkElem=function(e){return G.getSelectedNodeByType(e,`link`)??null},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedLinkElem(e)==null},e.prototype.getModalPositionNode=function(e){return G.getSelectedNodeByType(e,`link`)},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=YA(dE(K(`link.url`),t),2),i=r[0],a=B(r[1]),o=YA(fE(n,K(`common.ok`)),1)[0];if(this.$content==null){var s=B(`<div></div>`);s.on(`click`,`button`,(function(n){n.preventDefault(),e.restoreSelection();var r=G.getSelectedNodeByType(e,`link`);(function(e,t,n){KA(this,void 0,void 0,(function(){var r,i;return qA(this,(function(a){switch(a.label){case 0:return n?[4,fM(`editLink`,e,t,n)]:[2];case 1:return a.sent()?[4,pM(`editLink`,e,n)]:[2];case 2:return r=a.sent(),i={url:dM(r)},z.setNodes(e,i,{match:function(e){return G.checkNodeType(e,`link`)}}),[2]}}))}))})(e,r?F.string(r):``,s.find(`#`+t).val()),e.hidePanelOrModal()})),this.$content=s}var c=this.$content;c.empty(),c.append(i),c.append(o);var l=this.getValue(e);return a.val(l),setTimeout((function(){a.focus()})),c[0]},e}(),she=function(){function e(){this.title=K(`link.unLink`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||G.getSelectedNodeByType(e,`link`)==null},e.prototype.exec=function(e,t){this.isDisabled(e)||z.unwrapNodes(e,{match:function(e){return G.checkNodeType(e,`link`)}})},e}(),che=function(){function e(){this.title=K(`link.view`),this.iconSvg=Sj,this.tag=`button`}return e.prototype.getSelectedLinkElem=function(e){return G.getSelectedNodeByType(e,`link`)??null},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedLinkElem(e)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||typeof t!=`string`)throw Error(`View link failed, link url is '`+t+`'`);window.open(t,`_blank`)}},e}(),yM={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},lhe={renderElems:[rhe],elemsToHtml:[{type:`link`,elemToHtml:function(e,t){var n=e,r=n.url,i=n.target;return`<a href="`+r+`" target="`+(i===void 0?`_blank`:i)+`">`+t+`</a>`}}],parseElemsHtml:[ihe],menus:[{key:`insertLink`,factory:function(){return new ahe},config:yM},{key:`editLink`,factory:function(){return new ohe},config:yM},{key:`unLink`,factory:function(){return new she}},{key:`viewLink`,factory:function(){return new che}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var i=e;return i.isInline=function(e){return e.type===`link`||t(e)},i.insertData=function(e){var t=e.getData(`text/plain`);if(function(e){if(typeof e!=`string`)return!1;var t=e.match($me);if(!t)return!1;var n=t[1];return!(!n||!ehe.test(n)&&!the.test(n))}(t)){if(!mM(i)){var r=i.selection;r!=null&&gM(i,P.string(i,r),t)}}else n(e)},i.normalizeNode=function(e){var t=YA(e,2),n=t[0],a=t[1];return G.getNodeType(n)===`link`&&F.string(n)===``?z.removeNodes(i,{at:a}):r([n,a])},i}},uhe=q(1 .valueOf),dhe=SD.RangeError,fhe=SD.RangeError,bM=SD.String,xM=Math.floor,SM=q((function(e){var t=fk(LD(this)),n=``,r=RO(e);if(r<0||r==1/0)throw dhe(`Wrong number of repetitions`);for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),CM=q(``.slice),wM=q(1 .toFixed),TM=function(e,t,n){return t===0?n:t%2==1?TM(e,t-1,n*e):TM(e*e,t/2,n)},EM=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=xM(i/1e7)},DM=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=xM(r/t),r=r%t*1e7},OM=function(e){for(var t=6,n=``;--t>=0;)if(n!==``||t===0||e[t]!==0){var r=bM(e[t]);n=n===``?r:n+SM(`0`,7-r.length)+r}return n};function kM(e,t){return`w-e-image-container-`+G.findKey(e,t).id}YO({target:`Number`,proto:!0,forced:CD((function(){return wM(8e-5,3)!==`0.000`||wM(.9,0)!==`1`||wM(1.255,2)!==`1.25`||wM(0xde0b6b3a7640080,0)!==`1000000000000000128`}))||!CD((function(){wM({})}))},{toFixed:function(e){var t,n,r,i,a=uhe(this),o=RO(e),s=[0,0,0,0,0,0],c=``,l=`0`;if(o<0||o>20)throw fhe(`Incorrect fraction digits`);if(a!=a)return`NaN`;if(a<=-1e21||a>=1e21)return bM(a);if(a<0&&(c=`-`,a=-a),a>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(a*TM(2,69,1))-69)<0?a*TM(2,-t,1):a/TM(2,t,1),n*=4503599627370496,(t=52-t)>0){for(EM(s,0,n),r=o;r>=7;)EM(s,1e7,0),r-=7;for(EM(s,TM(10,r,1),0),r=t-1;r>=23;)DM(s,1<<23),r-=23;DM(s,1<<r),EM(s,1,1),DM(s,2),l=OM(s)}else EM(s,0,n),EM(s,1<<-t,0),l=OM(s)+SM(`0`,o);return o>0?c+((i=l.length)<=o?`0.`+SM(`0`,o-i)+l:CM(l,0,i-o)+`.`+CM(l,i-o)):c+l}});var phe={type:`image`,renderElem:function(e,t,n){var r=e,i=r.src,a=r.alt,o=a===void 0?``:a,s=r.href,c=s===void 0?``:s,l=r.style,u=l===void 0?{}:l,d=u.width,f=d===void 0?``:d,p=u.height,m=p===void 0?``:p,h=G.isNodeSelected(n,e),g={};f&&(g.width=`100%`),m&&(g.height=`100%`);var _=V(`img`,{style:g,src:i,alt:o,"data-href":c}),v=n.isDisabled();return h&&!v?function(e,t,n,r){var i=B(`body`),a=kM(e,t),o=r.width,s=r.height,c=0,l=0,u=0,d=!1,f=null;function p(t){f=function(){var e=B(`#`+a);if(e.length===0)throw Error(`Cannot find image container elem`);return e}(),c=t;var n=f.find(`img`);if(n.length===0)throw Error(`Cannot find image elem`);l=n.width(),u=n.height(),i.on(`mousemove`,m),i.on(`mouseup`,h);var r=G.getHoverbar(e);r&&r.hideAndClean()}var m=sm((function(e){e.preventDefault();var t=e.clientX,n=l+(d?c-t:t-c),r=n/l*u;f!=null&&(n<=15||r<=15||(f.css(`width`,n+`px`),f.css(`height`,r+`px`)))}),100);function h(n){if(i.off(`mousemove`,m),f!=null){var r=f.width().toFixed(2),a=f.height().toFixed(2),o={style:GA(GA({},t.style),{width:r+`px`,height:a+`px`})};z.setNodes(e,o,{at:G.findPath(e,t)}),i.off(`mouseup`,h)}}var g={};return o&&(g.width=o),s&&(g.height=s),V(`div`,{id:a,style:g,className:`w-e-image-container w-e-selected-image-container`,on:{mousedown:function(e){var t=B(e.target);t.hasClass(`w-e-image-dragger`)&&(e.preventDefault(),(t.hasClass(`left-top`)||t.hasClass(`left-bottom`))&&(d=!0),p(e.clientX))}}},n,V(`div`,{className:`w-e-image-dragger left-top`}),V(`div`,{className:`w-e-image-dragger right-top`}),V(`div`,{className:`w-e-image-dragger left-bottom`}),V(`div`,{className:`w-e-image-dragger right-bottom`}))}(n,e,_,{width:f,height:m}):function(e,t,n,r){var i=r.width,a=r.height,o={};return i&&(o.width=i),a&&(o.height=a),V(`div`,{id:kM(e,t),style:o,className:`w-e-image-container`},n)}(n,e,_,{width:f,height:m})}},mhe={selector:`img:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e),i=r.attr(`data-href`)||``;return i=decodeURIComponent(i),{type:`image`,src:r.attr(`src`)||``,alt:r.attr(`alt`)||``,href:i,style:{width:VA(r,`width`),height:VA(r,`height`)},children:[{text:``}]}}};function AM(e,t,n,r,i){return r===void 0&&(r=``),i===void 0&&(i=``),KA(this,void 0,void 0,(function(){var a,o;return qA(this,(function(s){switch(s.label){case 0:return(a=t.getMenuConfig(e).checkImage)?[4,a(n,r,i)]:[3,2];case 1:if(typeof(o=s.sent())==`string`)return t.alert(o,`error`),[2,!1];if(o==null)return[2,!1];s.label=2;case 2:return[2,!0]}}))}))}function jM(e,t,n){return KA(this,void 0,void 0,(function(){var r;return qA(this,(function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}}))}))}function MM(e,t,n,r){return n===void 0&&(n=``),r===void 0&&(r=``),KA(this,void 0,void 0,(function(){var i,a,o;return qA(this,(function(s){switch(s.label){case 0:return[4,AM(`insertImage`,e,t,n,r)];case 1:return s.sent()?[4,jM(`insertImage`,e,t)]:[2];case 2:return i=s.sent(),a={type:`image`,src:dM(i),href:r,alt:n,style:{},children:[{text:``}]},e.selection===null&&e.restoreSelection(),G.getSelectedNodeByType(e,`image`)&&e.move(1),NM(e)||(z.insertNodes(e,a),(o=e.getMenuConfig(`insertImage`).onInsertedImage)&&o(a)),[2]}}))}))}function NM(e){var t=e.selection;return t==null||!L.isCollapsed(t)||!!YA(P.nodes(e,{match:function(t){var n=G.getNodeType(t);return n===`code`||n===`pre`||n===`link`||n===`list-item`||!!n.startsWith(`header`)||n===`blockquote`||!!P.isVoid(e,t)},universal:!0}),1)[0]}function PM(){return uM(`w-e-insert-image`)}var hhe=function(){function e(){this.title=K(`image.netImage`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>`,this.tag=`button`,this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=PM(),this.altInputId=PM(),this.hrefInputId=PM(),this.buttonId=PM()}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return NM(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,i=n.altInputId,a=n.hrefInputId,o=n.buttonId,s=YA(dE(K(`image.src`),r),2),c=s[0],l=B(s[1]),u=YA(dE(K(`image.desc`),i),2),d=u[0],f=B(u[1]),p=YA(dE(K(`image.link`),a),2),m=p[0],h=B(p[1]),g=YA(fE(o,K(`common.ok`)),1)[0];if(this.$content==null){var _=B(`<div></div>`);_.on(`click`,`#`+o,(function(n){n.preventDefault();var o=_.find(`#`+r).val().trim(),s=_.find(`#`+i).val().trim(),c=_.find(`#`+a).val().trim();t.insertImage(e,o,s,c),e.hidePanelOrModal()})),this.$content=_}var v=this.$content;return v.empty(),v.append(c),v.append(d),v.append(m),v.append(g),l.val(``),f.val(``),h.val(``),setTimeout((function(){l.focus()})),v[0]},e.prototype.insertImage=function(e,t,n,r){n===void 0&&(n=``),r===void 0&&(r=``),t&&(e.restoreSelection(),this.isDisabled(e)||MM(e,t,n,r))},e}(),ghe=function(){function e(){this.title=K(`image.delete`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||G.getSelectedNodeByType(e,`image`)==null},e.prototype.exec=function(e,t){this.isDisabled(e)||z.removeNodes(e,{match:function(e){return G.checkNodeType(e,`image`)}})},e}();function FM(){return uM(`w-e-edit-image`)}var _he=function(){function e(){this.title=K(`image.edit`),this.iconSvg=xj,this.tag=`button`,this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=FM(),this.altInputId=FM(),this.hrefInputId=FM(),this.buttonId=FM()}return e.prototype.getValue=function(e){return``},e.prototype.getImageNode=function(e){return G.getSelectedNodeByType(e,`image`)},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`image`)==null},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,i=n.altInputId,a=n.hrefInputId,o=n.buttonId,s=this.getImageNode(e);if(s==null)throw Error(`Not found selected image node`);var c=YA(dE(K(`image.src`),r),2),l=c[0],u=B(c[1]),d=YA(dE(K(`image.desc`),i),2),f=d[0],p=B(d[1]),m=YA(dE(K(`image.link`),a),2),h=m[0],g=B(m[1]),_=YA(fE(o,K(`common.ok`)),1)[0];if(this.$content==null){var v=B(`<div></div>`);v.on(`click`,`#`+o,(function(n){n.preventDefault();var o=v.find(`#`+r).val(),s=v.find(`#`+i).val(),c=v.find(`#`+a).val();t.updateImage(e,o,s,c),e.hidePanelOrModal()})),this.$content=v}var y=this.$content;y.empty(),y.append(l),y.append(f),y.append(h),y.append(_);var b=s,x=b.src,S=b.alt,C=S===void 0?``:S,w=b.href,T=w===void 0?``:w;return u.val(x),p.val(C),g.val(T),setTimeout((function(){u.focus()})),y[0]},e.prototype.updateImage=function(e,t,n,r,i){n===void 0&&(n=``),r===void 0&&(r=``),i===void 0&&(i={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,i){n===void 0&&(n=``),r===void 0&&(r=``),i===void 0&&(i={}),KA(this,void 0,void 0,(function(){var a,o,s,c,l,u;return qA(this,(function(d){switch(d.label){case 0:return[4,AM(`editImage`,e,t,n,r)];case 1:return d.sent()?[4,jM(`editImage`,e,t)]:[2];case 2:return a=d.sent(),(o=G.getSelectedNodeByType(e,`image`))==null||(s=o.style,c={src:a,alt:n,href:r,style:GA(GA({},s===void 0?{}:s),i)},z.setNodes(e,c,{match:function(e){return G.checkNodeType(e,`image`)}}),l=G.getSelectedNodeByType(e,`image`),(u=e.getMenuConfig(`editImage`).onUpdatedImage)&&u(l)),[2]}}))}))}(e,t,n,r,i))},e}(),vhe=function(){function e(){this.title=K(`image.viewLink`),this.iconSvg=Sj,this.tag=`button`}return e.prototype.getValue=function(e){var t=G.getSelectedNodeByType(e,`image`);return t&&t.href||``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||!this.getValue(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||typeof t!=`string`)throw Error(`View image link failed, image.href is '`+t+`'`);window.open(t,`_blank`)}},e}(),IM=function(){function e(){this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.getSelectedNode=function(e){return G.getSelectedNodeByType(e,`image`)},e.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedNode(e)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(n!=null){var r=G.getHoverbar(e);r&&r.hideAndClean();var i=n.style,a={style:GA(GA({},i===void 0?{}:i),{width:this.value,height:``})};z.setNodes(e,a,{match:function(e){return G.checkNodeType(e,`image`)}})}}},e}(),yhe=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`30%`,t.value=`30%`,t}return WA(t,e),t}(IM),bhe=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`50%`,t.value=`50%`,t}return WA(t,e),t}(IM),xhe=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=`100%`,t.value=`100%`,t}return WA(t,e),t}(IM),LM={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},She={renderElems:[phe],elemsToHtml:[{type:`image`,elemToHtml:function(e,t){var n=e,r=n.src,i=n.alt,a=i===void 0?``:i,o=n.href,s=o===void 0?``:o,c=n.style,l=c===void 0?{}:c,u=l.width,d=u===void 0?``:u,f=l.height,p=f===void 0?``:f,m=``;return d&&(m+=`width: `+d+`;`),p&&(m+=`height: `+p+`;`),`<img src="`+r+`" alt="`+a+`" data-href="`+s+`" style="`+m+`"/>`}}],parseElemsHtml:[mhe],menus:[{key:`insertImage`,factory:function(){return new hhe},config:LM},{key:`deleteImage`,factory:function(){return new ghe}},{key:`editImage`,factory:function(){return new _he},config:LM},{key:`viewImageLink`,factory:function(){return new vhe}},{key:`imageWidth30`,factory:function(){return new yhe}},{key:`imageWidth50`,factory:function(){return new bhe}},{key:`imageWidth100`,factory:function(){return new xhe}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(e){return e.type===`image`||t(e)},r.isVoid=function(e){return e.type===`image`||n(e)},r}},Che={type:`todo`,renderElem:function(e,t,n){var r=!1;return n.isDisabled()&&(r=!0),V(`div`,{style:{margin:`5px 0`}},V(`span`,{contentEditable:!1,style:{marginRight:`0.5em`}},V(`input`,{type:`checkbox`,checked:e.checked,disabled:r,on:{change:function(t){var r=G.findPath(n,e),i={checked:t.target.checked};z.setNodes(n,i,{at:r})}}})),V(`span`,null,t))}},whe=function(){function e(){this.title=K(`todo.todo`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!!G.getSelectedNodeByType(e,`todo`)},e.prototype.isDisabled=function(e){return e.selection==null||!!G.getSelectedElems(e).some((function(t){if(P.isVoid(e,t)&&P.isBlock(e,t))return!0;var n=t.type;return!![`pre`,`table`,`list-item`].includes(n)||void 0}))},e.prototype.exec=function(e,t){var n=this.isActive(e);z.setNodes(e,{type:n?`paragraph`:`todo`})},e}(),The={renderElems:[Che],elemsToHtml:[{type:`todo`,elemToHtml:function(e,t){return`<div data-w-e-type="todo"><input type="checkbox" disabled `+(e.checked?`checked`:``)+`>`+t+`</div>`}}],preParseHtml:[{selector:`ul.w-e-todo`,preParseHtml:function(e){var t=B(e).find(`li`),n=B(`<div data-w-e-type="todo"></div>`),r=t.find(`input[type]`);return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[{selector:`div[data-w-e-type="todo"]`,parseElemHtml:function(e,t,n){var r=B(e);(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]);var i=!1;return r.find(`input[type="checkbox"]`).attr(`checked`)!=null&&(i=!0),{type:`todo`,checked:i,children:t}}}],menus:[{key:`todo`,factory:function(){return new whe}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(n){var r=e.selection;if(r&&L.isCollapsed(r)){var i=G.getSelectedNodeByType(e,`todo`);if(i&&F.string(i).length===0)return void z.setNodes(e,{type:`paragraph`},{mode:`highest`})}t(n)},n}},Ehe={type:`blockquote`,renderElem:function(e,t,n){return V(`blockquote`,null,t)}},Dhe={selector:`blockquote:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);return(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]),{type:`blockquote`,children:t}}},Ohe=function(){function e(){this.title=K(`blockQuote.title`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!!G.getSelectedNodeByType(e,`blockquote`)},e.prototype.isDisabled=function(e){return e.selection==null||!YA(P.nodes(e,{match:function(e){var t=G.getNodeType(e);return t===`paragraph`||t===`blockquote`},universal:!0,mode:`highest`}),1)[0]},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?`paragraph`:`blockquote`;z.setNodes(e,{type:n},{mode:`highest`})}},e}(),khe={key:`blockquote`,factory:function(){return new Ohe}},Ahe=q([].slice),jhe=uk(`slice`),Mhe=uO(`species`),RM=SD.Array,Nhe=Math.max;YO({target:`Array`,proto:!0,forced:!jhe},{slice:function(e,t){var n,r,i,a=RD(this),o=VO(a),s=zO(e,o),c=zO(t===void 0?o:t,o);if(ZO(a)&&(n=a.constructor,(ak(n)&&(n===RM||ZO(n.prototype))||BD(n)&&(n=n[Mhe])===null)&&(n=void 0),n===RM||n===void 0))return Ahe(a,s,c);for(r=new(n===void 0?RM:n)(Nhe(c-s,0)),i=0;s<c;s++,i++)s in a&&yA(r,i,a[s]);return r.length=i,r}});var Phe={renderElems:[Ehe],elemsToHtml:[{type:`blockquote`,elemToHtml:function(e,t){return`<blockquote>`+t+`</blockquote>`}}],parseElemsHtml:[Dhe],menus:[khe],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var i=r.selection;if(i==null)return t();var a=YA(P.nodes(e,{match:function(e){return G.checkNodeType(e,`blockquote`)},universal:!0}),1)[0];if(!a)return t();var o=a[0],s=G.findPath(e,o),c=P.end(e,s);if(ff.equals(c,i.focus)){var l=F.string(o);if(l&&l.slice(-1)===`
56
+ `)return e.deleteBackward(`character`),void z.insertNodes(r,{type:`paragraph`,children:[{text:``}]},{mode:`highest`})}n(`
57
+ `)},r}},Fhe=function(){function e(){this.title=K(`emotion.title`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>`,this.tag=`button`,this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||!!YA(P.nodes(e,{match:function(t){return G.getNodeType(t)===`pre`||!!P.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){if(this.$content==null){var t=B(`<ul class="w-e-panel-content-emotion"></ul>`);t.on(`click`,`li`,(function(t){var n=t.target;if(n!=null){t.preventDefault();var r=B(n).text();e.insertText(r)}})),this.$content=t}var n=this.$content;if(n==null)return document.createElement(`ul`);n.empty();var r=e.getMenuConfig(`emotion`).emotions;return(r===void 0?[]:r).forEach((function(e){var t=B(`<li>`+e+`</li>`);n.append(t)})),n[0]},e}(),Ihe={menus:[{key:`emotion`,factory:function(){return new Fhe},config:{emotions:`😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏`.split(` `)}}]},Lhe={1:`12px`,2:`14px`,3:`16px`,4:`19px`,5:`24px`,6:`32px`,7:`48px`},Rhe={selector:`font`,preParseHtml:function(e){var t=B(e);if(BA(t)!==`font`)return e;var n=t.attr(`size`)||``;n&&(t.removeAttr(`size`),t.css(`font-size`,Lhe[n]));var r=t.attr(`face`)||``;return r&&(t.removeAttr(`face`),t.css(`font-family`,r)),t[0]}},zhe=q(``.indexOf);YO({target:`String`,proto:!0,forced:!Yj(`includes`)},{includes:function(e){return!!~zhe(fk(LD(this)),fk(Jj(e)),arguments.length>1?arguments[1]:void 0)}});var zM,BM,VM=function(e){return e&&e.Math==Math&&e},HM=VM(typeof globalThis==`object`&&globalThis)||VM(typeof window==`object`&&window)||VM(typeof self==`object`&&self)||VM(typeof _D==`object`&&_D)||function(){return this}()||Function(`return this`)(),UM=Function.prototype,WM=UM.apply,Bhe=UM.bind,GM=UM.call,KM=typeof Reflect==`object`&&Reflect.apply||(Bhe?GM.bind(WM):function(){return GM.apply(WM,arguments)}),qM=Function.prototype,JM=qM.bind,YM=qM.call,Vhe=JM&&JM.bind(YM),XM=JM?function(e){return e&&Vhe(YM,e)}:function(e){return e&&function(){return YM.apply(e,arguments)}},ZM=function(e){return typeof e==`function`},QM=function(e){try{return!!e()}catch{return!0}},$M=!QM((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),eN=Function.prototype.call,tN=eN.bind?eN.bind(eN):function(){return eN.apply(eN,arguments)},nN={}.propertyIsEnumerable,rN=Object.getOwnPropertyDescriptor,iN={f:rN&&!nN.call({1:2},1)?function(e){var t=rN(this,e);return!!t&&t.enumerable}:nN},aN=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Hhe=XM({}.toString),Uhe=XM(``.slice),oN=function(e){return Uhe(Hhe(e),8,-1)},sN=HM.Object,Whe=XM(``.split),cN=QM((function(){return!sN(`z`).propertyIsEnumerable(0)}))?function(e){return oN(e)==`String`?Whe(e,``):sN(e)}:sN,Ghe=HM.TypeError,lN=function(e){if(e==null)throw Ghe(`Can't call method on `+e);return e},uN=function(e){return cN(lN(e))},dN=function(e){return typeof e==`object`?e!==null:ZM(e)},fN={},pN=function(e){return ZM(e)?e:void 0},mN=function(e,t){return arguments.length<2?pN(fN[e])||pN(HM[e]):fN[e]&&fN[e][t]||HM[e]&&HM[e][t]},hN=XM({}.isPrototypeOf),gN=mN(`navigator`,`userAgent`)||``,_N=HM.process,vN=HM.Deno,yN=_N&&_N.versions||vN&&vN.version,bN=yN&&yN.v8;bN&&(BM=(zM=bN.split(`.`))[0]>0&&zM[0]<4?1:+(zM[0]+zM[1])),!BM&&gN&&(!(zM=gN.match(/Edge\/(\d+)/))||zM[1]>=74)&&(zM=gN.match(/Chrome\/(\d+)/))&&(BM=+zM[1]);var xN=BM,SN=!!Object.getOwnPropertySymbols&&!QM((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&xN&&xN<41})),CN=SN&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,Khe=HM.Object,wN=CN?function(e){return typeof e==`symbol`}:function(e){var t=mN(`Symbol`);return ZM(t)&&hN(t.prototype,Khe(e))},qhe=HM.String,Jhe=HM.TypeError,TN=function(e){if(ZM(e))return e;throw Jhe(function(e){try{return qhe(e)}catch{return`Object`}}(e)+` is not a function`)},Yhe=HM.TypeError,Xhe=Object.defineProperty,EN=HM[`__core-js_shared__`]||function(e,t){try{Xhe(HM,e,{value:t,configurable:!0,writable:!0})}catch{HM[e]=t}return t}(`__core-js_shared__`,{}),DN=vD((function(e){(e.exports=function(e,t){return EN[e]||(EN[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`pure`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),Zhe=HM.Object,ON=function(e){return Zhe(lN(e))},Qhe=XM({}.hasOwnProperty),kN=Object.hasOwn||function(e,t){return Qhe(ON(e),t)},$he=0,ege=Math.random(),tge=XM(1 .toString),AN=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+tge(++$he+ege,36)},jN=DN(`wks`),MN=HM.Symbol,NN=MN&&MN.for,nge=CN?MN:MN&&MN.withoutSetter||AN,PN=function(e){if(!kN(jN,e)||!SN&&typeof jN[e]!=`string`){var t=`Symbol.`+e;SN&&kN(MN,e)?jN[e]=MN[e]:jN[e]=CN&&NN?NN(t):nge(t)}return jN[e]},rge=HM.TypeError,ige=PN(`toPrimitive`),FN=function(e){var t=function(e,t){if(!dN(e)||wN(e))return e;var n,r,i=(n=e[ige])==null?void 0:TN(n);if(i){if(t===void 0&&(t=`default`),r=tN(i,e,t),!dN(r)||wN(r))return r;throw rge(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&ZM(n=e.toString)&&!dN(r=tN(n,e))||ZM(n=e.valueOf)&&!dN(r=tN(n,e))||t!==`string`&&ZM(n=e.toString)&&!dN(r=tN(n,e)))return r;throw Yhe(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return wN(t)?t:t+``},IN=HM.document,age=dN(IN)&&dN(IN.createElement),LN=function(e){return age?IN.createElement(e):{}},RN=!$M&&!QM((function(){return Object.defineProperty(LN(`div`),`a`,{get:function(){return 7}}).a!=7})),zN=Object.getOwnPropertyDescriptor,BN={f:$M?zN:function(e,t){if(e=uN(e),t=FN(t),RN)try{return zN(e,t)}catch{}if(kN(e,t))return aN(!tN(iN.f,e,t),e[t])}},oge=/#|\.prototype\./,VN=function(e,t){var n=cge[sge(e)];return n==uge||n!=lge&&(ZM(t)?QM(t):!!t)},sge=VN.normalize=function(e){return String(e).replace(oge,`.`).toLowerCase()},cge=VN.data={},lge=VN.NATIVE=`N`,uge=VN.POLYFILL=`P`,dge=VN,HN=XM(XM.bind),UN=function(e,t){return TN(e),t===void 0?e:HN?HN(e,t):function(){return e.apply(t,arguments)}},fge=HM.String,pge=HM.TypeError,WN=function(e){if(dN(e))return e;throw pge(fge(e)+` is not an object`)},mge=HM.TypeError,GN=Object.defineProperty,KN={f:$M?GN:function(e,t,n){if(WN(e),t=FN(t),WN(n),RN)try{return GN(e,t,n)}catch{}if(`get`in n||`set`in n)throw mge(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},qN=$M?function(e,t,n){return KN.f(e,t,aN(1,n))}:function(e,t,n){return e[t]=n,e},hge=BN.f,gge=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return KM(e,this,arguments)};return t.prototype=e.prototype,t},JN=function(e,t){var n,r,i,a,o,s,c,l,u=e.target,d=e.global,f=e.stat,p=e.proto,m=d?HM:f?HM[u]:(HM[u]||{}).prototype,h=d?fN:fN[u]||qN(fN,u,{})[u],g=h.prototype;for(i in t)n=!dge(d?i:u+(f?`.`:`#`)+i,e.forced)&&m&&kN(m,i),o=h[i],n&&(s=e.noTargetGet?(l=hge(m,i))&&l.value:m[i]),a=n&&s?s:t[i],n&&typeof o==typeof a||(c=e.bind&&n?UN(a,HM):e.wrap&&n?gge(a):p&&ZM(a)?XM(a):a,(e.sham||a&&a.sham||o&&o.sham)&&qN(c,`sham`,!0),qN(h,i,c),p&&(kN(fN,r=u+`Prototype`)||qN(fN,r,{}),qN(fN[r],i,a),e.real&&g&&!g[i]&&qN(g,i,a)))},YN=Array.isArray||function(e){return oN(e)==`Array`},_ge=Math.ceil,vge=Math.floor,XN=function(e){var t=+e;return t!=t||t===0?0:(t>0?vge:_ge)(t)},yge=Math.min,ZN=function(e){return(t=e.length)>0?yge(XN(t),9007199254740991):0;var t},QN=function(e,t,n){var r=FN(t);r in e?KN.f(e,r,aN(0,n)):e[r]=n},$N={};$N[PN(`toStringTag`)]=`z`;var eP=String($N)===`[object z]`,bge=PN(`toStringTag`),xge=HM.Object,Sge=oN(function(){return arguments}())==`Arguments`,tP=eP?oN:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=xge(e),bge))==`string`?n:Sge?oN(t):(r=oN(t))==`Object`&&ZM(t.callee)?`Arguments`:r},Cge=XM(Function.toString);ZM(EN.inspectSource)||(EN.inspectSource=function(e){return Cge(e)});var nP=EN.inspectSource,rP=function(){},wge=[],iP=mN(`Reflect`,`construct`),aP=/^\s*(?:class|function)\b/,Tge=XM(aP.exec),Ege=!aP.exec(rP),oP=function(e){if(!ZM(e))return!1;try{return iP(rP,wge,e),!0}catch{return!1}},Dge=!iP||QM((function(){var e;return oP(oP.call)||!oP(Object)||!oP((function(){e=!0}))||e}))?function(e){if(!ZM(e))return!1;switch(tP(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return Ege||!!Tge(aP,nP(e))}:oP,Oge=PN(`species`),sP=HM.Array,cP=function(e,t){return new(function(e){var t;return YN(e)&&(t=e.constructor,(Dge(t)&&(t===sP||YN(t.prototype))||dN(t)&&(t=t[Oge])===null)&&(t=void 0)),t===void 0?sP:t}(e))(t===0?0:t)},kge=PN(`species`),lP=PN(`isConcatSpreadable`),uP=HM.TypeError,Age=xN>=51||!QM((function(){var e=[];return e[lP]=!1,e.concat()[0]!==e})),jge=xN>=51||!QM((function(){var e=[];return(e.constructor={})[kge]=function(){return{foo:1}},e.concat(Boolean).foo!==1})),Mge=function(e){if(!dN(e))return!1;var t=e[lP];return t===void 0?YN(e):!!t};JN({target:`Array`,proto:!0,forced:!Age||!jge},{concat:function(e){var t,n,r,i,a,o=ON(this),s=cP(o,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Mge(a=t===-1?o:arguments[t])){if(c+(i=ZN(a))>9007199254740991)throw uP(`Maximum allowed index exceeded`);for(n=0;n<i;n++,c++)n in a&&QN(s,c,a[n])}else{if(c>=9007199254740991)throw uP(`Maximum allowed index exceeded`);QN(s,c++,a)}return s.length=c,s}});var dP,Nge=HM.String,fP=function(e){if(tP(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return Nge(e)},Pge=Math.max,Fge=Math.min,pP=function(e,t){var n=XN(e);return n<0?Pge(n+t,0):Fge(n,t)},mP=function(e){return function(t,n,r){var i,a=uN(t),o=ZN(a),s=pP(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Ige={includes:mP(!0),indexOf:mP(!1)},hP={},Lge=Ige.indexOf,gP=XM([].push),_P=function(e,t){var n,r=uN(e),i=0,a=[];for(n in r)!kN(hP,n)&&kN(r,n)&&gP(a,n);for(;t.length>i;)kN(r,n=t[i++])&&(~Lge(a,n)||gP(a,n));return a},vP=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],yP=Object.keys||function(e){return _P(e,vP)},Rge=$M?Object.defineProperties:function(e,t){WN(e);for(var n,r=uN(t),i=yP(t),a=i.length,o=0;a>o;)KN.f(e,n=i[o++],r[n]);return e},zge=mN(`document`,`documentElement`),bP=DN(`keys`),xP=function(e){return bP[e]||(bP[e]=AN(e))},SP=xP(`IE_PROTO`),CP=function(){},wP=function(e){return`<script>`+e+`<\/script>`},TP=function(e){e.write(wP(``)),e.close();var t=e.parentWindow.Object;return e=null,t},EP=function(){try{dP=new ActiveXObject(`htmlfile`)}catch{}var e,t;EP=typeof document<`u`?document.domain&&dP?TP(dP):((t=LN(`iframe`)).style.display=`none`,zge.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(wP(`document.F=Object`)),e.close(),e.F):TP(dP);for(var n=vP.length;n--;)delete EP.prototype[vP[n]];return EP()};hP[SP]=!0;var DP,OP,kP,AP=Object.create||function(e,t){var n;return e===null?n=EP():(CP.prototype=WN(e),n=new CP,CP.prototype=null,n[SP]=e),t===void 0?n:Rge(n,t)},Bge=vP.concat(`length`,`prototype`),jP={f:Object.getOwnPropertyNames||function(e){return _P(e,Bge)}},Vge=HM.Array,Hge=Math.max,MP=jP.f,NP=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],PP={f:function(e){return NP&&oN(e)==`Window`?function(e){try{return MP(e)}catch{return function(e,t,n){for(var r=ZN(e),i=pP(void 0,r),a=pP(r,r),o=Vge(Hge(a-i,0)),s=0;i<a;i++,s++)QN(o,s,e[i]);return o.length=s,o}(NP)}}(e):MP(uN(e))}},FP={f:Object.getOwnPropertySymbols},Uge=XM([].slice),IP=function(e,t,n,r){r&&r.enumerable?e[t]=n:qN(e,t,n)},LP={f:PN},Wge=KN.f,RP=function(e){var t=fN.Symbol||={};kN(t,e)||Wge(t,e,{value:LP.f(e)})},Gge=eP?{}.toString:function(){return`[object `+tP(this)+`]`},Kge=KN.f,zP=PN(`toStringTag`),BP=function(e,t,n,r){if(e){var i=n?e:e.prototype;kN(i,zP)||Kge(i,zP,{configurable:!0,value:t}),r&&!eP&&qN(i,`toString`,Gge)}},VP=HM.WeakMap,qge=ZM(VP)&&/native code/.test(nP(VP)),HP=HM.TypeError,Jge=HM.WeakMap;if(qge||EN.state){var UP=EN.state||=new Jge,Yge=XM(UP.get),WP=XM(UP.has),Xge=XM(UP.set);DP=function(e,t){if(WP(UP,e))throw new HP(`Object already initialized`);return t.facade=e,Xge(UP,e,t),t},OP=function(e){return Yge(UP,e)||{}},kP=function(e){return WP(UP,e)}}else{var GP=xP(`state`);hP[GP]=!0,DP=function(e,t){if(kN(e,GP))throw new HP(`Object already initialized`);return t.facade=e,qN(e,GP,t),t},OP=function(e){return kN(e,GP)?e[GP]:{}},kP=function(e){return kN(e,GP)}}var KP={set:DP,get:OP,has:kP,enforce:function(e){return kP(e)?OP(e):DP(e,{})},getterFor:function(e){return function(t){var n;if(!dN(t)||(n=OP(t)).type!==e)throw HP(`Incompatible receiver, `+e+` required`);return n}}},qP=XM([].push),JP=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=ON(c),h=cN(m),g=UN(l,u),_=ZN(h),v=0,y=d||cP,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:qP(b,f)}else switch(e){case 4:return!1;case 7:qP(b,f)}return a?-1:r||i?i:b}},YP=[JP(0),JP(1),JP(2),JP(3),JP(4),JP(5),JP(6),JP(7)][0],XP=xP(`hidden`),ZP=PN(`toPrimitive`),Zge=KP.set,QP=KP.getterFor(`Symbol`),$P=Object.prototype,eF=HM.Symbol,tF=eF&&eF.prototype,nF=HM.TypeError,rF=HM.QObject,iF=mN(`JSON`,`stringify`),aF=BN.f,oF=KN.f,sF=PP.f,Qge=iN.f,cF=XM([].push),lF=DN(`symbols`),uF=DN(`op-symbols`),dF=DN(`string-to-symbol-registry`),fF=DN(`symbol-to-string-registry`),$ge=DN(`wks`),pF=!rF||!rF.prototype||!rF.prototype.findChild,mF=$M&&QM((function(){return AP(oF({},`a`,{get:function(){return oF(this,`a`,{value:7}).a}})).a!=7}))?function(e,t,n){var r=aF($P,t);r&&delete $P[t],oF(e,t,n),r&&e!==$P&&oF($P,t,r)}:oF,hF=function(e,t){var n=lF[e]=AP(tF);return Zge(n,{type:`Symbol`,tag:e,description:t}),$M||(n.description=t),n},gF=function(e,t,n){e===$P&&gF(uF,t,n),WN(e);var r=FN(t);return WN(n),kN(lF,r)?(n.enumerable?(kN(e,XP)&&e[XP][r]&&(e[XP][r]=!1),n=AP(n,{enumerable:aN(0,!1)})):(kN(e,XP)||oF(e,XP,aN(1,{})),e[XP][r]=!0),mF(e,r,n)):oF(e,r,n)},_F=function(e,t){WN(e);var n=uN(t);return YP(yP(n).concat(xF(n)),(function(t){$M&&!tN(vF,n,t)||gF(e,t,n[t])})),e},vF=function(e){var t=FN(e),n=tN(Qge,this,t);return!(this===$P&&kN(lF,t)&&!kN(uF,t))&&(!(n||!kN(this,t)||!kN(lF,t)||kN(this,XP)&&this[XP][t])||n)},yF=function(e,t){var n=uN(e),r=FN(t);if(n!==$P||!kN(lF,r)||kN(uF,r)){var i=aF(n,r);return!i||!kN(lF,r)||kN(n,XP)&&n[XP][r]||(i.enumerable=!0),i}},bF=function(e){var t=sF(uN(e)),n=[];return YP(t,(function(e){kN(lF,e)||kN(hP,e)||cF(n,e)})),n},xF=function(e){var t=e===$P,n=sF(t?uF:uN(e)),r=[];return YP(n,(function(e){!kN(lF,e)||t&&!kN($P,e)||cF(r,lF[e])})),r};if(SN||(tF=(eF=function(){if(hN(tF,this))throw nF(`Symbol is not a constructor`);var e=arguments.length&&arguments[0]!==void 0?fP(arguments[0]):void 0,t=AN(e),n=function(e){this===$P&&tN(n,uF,e),kN(this,XP)&&kN(this[XP],t)&&(this[XP][t]=!1),mF(this,t,aN(1,e))};return $M&&pF&&mF($P,t,{configurable:!0,set:n}),hF(t,e)}).prototype,IP(tF,`toString`,(function(){return QP(this).tag})),IP(eF,`withoutSetter`,(function(e){return hF(AN(e),e)})),iN.f=vF,KN.f=gF,BN.f=yF,jP.f=PP.f=bF,FP.f=xF,LP.f=function(e){return hF(PN(e),e)},$M&&oF(tF,`description`,{configurable:!0,get:function(){return QP(this).description}})),JN({global:!0,wrap:!0,forced:!SN,sham:!SN},{Symbol:eF}),YP(yP($ge),(function(e){RP(e)})),JN({target:`Symbol`,stat:!0,forced:!SN},{for:function(e){var t=fP(e);if(kN(dF,t))return dF[t];var n=eF(t);return dF[t]=n,fF[n]=t,n},keyFor:function(e){if(!wN(e))throw nF(e+` is not a symbol`);if(kN(fF,e))return fF[e]},useSetter:function(){pF=!0},useSimple:function(){pF=!1}}),JN({target:`Object`,stat:!0,forced:!SN,sham:!$M},{create:function(e,t){return t===void 0?AP(e):_F(AP(e),t)},defineProperty:gF,defineProperties:_F,getOwnPropertyDescriptor:yF}),JN({target:`Object`,stat:!0,forced:!SN},{getOwnPropertyNames:bF,getOwnPropertySymbols:xF}),JN({target:`Object`,stat:!0,forced:QM((function(){FP.f(1)}))},{getOwnPropertySymbols:function(e){return FP.f(ON(e))}}),iF&&JN({target:`JSON`,stat:!0,forced:!SN||QM((function(){var e=eF();return iF([e])!=`[null]`||iF({a:e})!=`{}`||iF(Object(e))!=`{}`}))},{stringify:function(e,t,n){var r=Uge(arguments),i=t;if((dN(t)||e!==void 0)&&!wN(e))return YN(t)||(t=function(e,t){if(ZM(i)&&(t=tN(i,this,e,t)),!wN(t))return t}),r[1]=t,KM(iF,null,r)}}),!tF[ZP]){var e_e=tF.valueOf;IP(tF,ZP,(function(e){return tN(e_e,this)}))}BP(eF,`Symbol`),hP[XP]=!0,RP(`asyncIterator`),RP(`hasInstance`),RP(`isConcatSpreadable`),RP(`iterator`),RP(`match`),RP(`matchAll`),RP(`replace`),RP(`search`),RP(`species`),RP(`split`),RP(`toPrimitive`),RP(`toStringTag`),RP(`unscopables`),BP(HM.JSON,`JSON`,!0);var SF,CF,wF,t_e=fN.Symbol,TF={},EF=Function.prototype,n_e=$M&&Object.getOwnPropertyDescriptor,DF=kN(EF,`name`),r_e={EXISTS:DF,PROPER:DF&&function(){}.name===`something`,CONFIGURABLE:DF&&(!$M||$M&&n_e(EF,`name`).configurable)},i_e=!QM((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),OF=xP(`IE_PROTO`),kF=HM.Object,a_e=kF.prototype,AF=i_e?kF.getPrototypeOf:function(e){var t=ON(e);if(kN(t,OF))return t[OF];var n=t.constructor;return ZM(n)&&t instanceof n?n.prototype:t instanceof kF?a_e:null},jF=PN(`iterator`),MF=!1;[].keys&&(`next`in(wF=[].keys())?(CF=AF(AF(wF)))!==Object.prototype&&(SF=CF):MF=!0),SF=SF==null||QM((function(){var e={};return SF[jF].call(e)!==e}))?{}:AP(SF),ZM(SF[jF])||IP(SF,jF,(function(){return this}));var NF={IteratorPrototype:SF,BUGGY_SAFARI_ITERATORS:MF},o_e=NF.IteratorPrototype,s_e=function(){return this};HM.String,HM.TypeError,Object.setPrototypeOf||`__proto__`in{}&&function(){var e={};try{XM(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set)(e,[]),e instanceof Array}catch{}}();var c_e=r_e.PROPER,PF=NF.BUGGY_SAFARI_ITERATORS,FF=PN(`iterator`),l_e=function(){return this},IF=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=AP(o_e,{next:aN(1,n)}),BP(e,i,!1,!0),TF[i]=s_e})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!PF&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[FF]||p[`@@iterator`]||i&&p[i],h=!PF&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=AF(g.call(new e)))!==Object.prototype&&s.next&&(BP(s,d,!0,!0),TF[d]=l_e),c_e&&i==`values`&&m&&m.name!==`values`&&(f=!0,h=function(){return tN(m,this)}),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(PF||f||!(l in p))&&IP(p,l,c[l]);else JN({target:t,proto:!0,forced:PF||f},c);return o&&p[FF]!==h&&IP(p,FF,h,{name:i}),TF[t]=h,c},u_e=KP.set,d_e=KP.getterFor(`Array Iterator`);IF(Array,`Array`,(function(e,t){u_e(this,{type:`Array Iterator`,target:uN(e),index:0,kind:t})}),(function(){var e=d_e(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`),TF.Arguments=TF.Array;var LF=PN(`toStringTag`);for(var RF in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var zF=HM[RF],BF=zF&&zF.prototype;BF&&tP(BF)!==LF&&qN(BF,LF,RF),TF[RF]=TF.Array}var f_e=t_e;RP(`asyncDispose`),RP(`dispose`),RP(`matcher`),RP(`metadata`),RP(`observable`),RP(`patternMatch`),RP(`replaceAll`);var VF=f_e,p_e=XM(``.charAt),HF=XM(``.charCodeAt),m_e=XM(``.slice),h_e=function(e){return function(t,n){var r,i,a=fP(lN(t)),o=XN(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=HF(a,o))<55296||r>56319||o+1===s||(i=HF(a,o+1))<56320||i>57343?e?p_e(a,o):r:e?m_e(a,o,o+2):i-56320+(r-55296<<10)+65536}}(!0),g_e=KP.set,__e=KP.getterFor(`String Iterator`);IF(String,`String`,(function(e){g_e(this,{type:`String Iterator`,string:fP(e),index:0})}),(function(){var e,t=__e(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=h_e(n,r),t.index+=e.length,{value:e,done:!1})}));var v_e=LP.f(`iterator`),UF=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}(vD((function(e){function t(n){return typeof VF==`function`&&typeof v_e==`symbol`?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&typeof VF==`function`&&e.constructor===VF&&e!==VF.prototype?`symbol`:typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))),y_e=IO.EXISTS,b_e=yO.f,WF=Function.prototype,x_e=q(WF.toString),GF=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,S_e=q(GF.exec);wD&&!y_e&&b_e(WF,`name`,{configurable:!0,get:function(){try{return S_e(GF,x_e(this))[1]}catch{return``}}});var KF=function(){function e(){this.tag=`select`,this.width=80}return e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.mark,n=P.marks(e);return n&&n[t]?n[t]:``},e.prototype.isDisabled=function(e){return e.selection==null||(this.mark,!!YA(P.nodes(e,{match:function(t){return G.getNodeType(t)===`pre`||!!P.isVoid(e,t)},universal:!0}),1)[0])},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n)},e}(),C_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`fontSize.title`),t.iconSvg=Tj,t.mark=`fontSize`,t}return WA(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList,r=n===void 0?[]:n;t.push({text:K(`fontSize.default`),value:``}),r.forEach((function(e){if(typeof e==`string`)t.push({text:e,value:e});else if(UF(e)===`object`){var n=e.name,r=e.value;t.push({text:n,value:r})}}));var i=this.getValue(e);return t.forEach((function(e){e.value===i?e.selected=!0:delete e.selected})),t},t}(KF),w_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`fontFamily.title`),t.iconSvg=Ej,t.mark=`fontFamily`,t.selectPanelWidth=150,t}return WA(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList,r=n===void 0?[]:n;t.push({text:K(`fontFamily.default`),value:``}),r.forEach((function(e){if(typeof e==`string`)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if(UF(e)===`object`){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}}));var i=this.getValue(e);return t.forEach((function(e){e.value===i?e.selected=!0:delete e.selected})),t},t}(KF),T_e={renderStyle:function(e,t){var n=e,r=n.fontSize,i=n.fontFamily,a=t;return r&&sM(a,{fontSize:r}),i&&sM(a,{fontFamily:i}),a},styleToHtml:function(e,t){if(!R.isText(e))return t;var n,r=e,i=r.fontSize,a=r.fontFamily;return i||a?((RA(t)||BA(n=B(t))!==`span`)&&(n=B(`<span>`+t+`</span>`)),i&&n.css(`font-size`,i),a&&n.css(`font-family`,a),zA(n)):t},preParseHtml:[Rhe],parseStyleHtml:function(e,t,n){var r=B(e);if(!R.isText(t))return t;var i=t,a=n.getMenuConfig(`fontSize`).fontSizeList,o=a===void 0?[]:a,s=VA(r,`font-size`),c=o.find((function(e){return e.value&&e.value===s}))||o.includes(s);s&&c&&(i.fontSize=s);var l=n.getMenuConfig(`fontFamily`).fontFamilyList,u=l===void 0?[]:l,d=VA(r,`font-family`).replace(/"/g,``),f=u.find((function(e){return e.value&&e.value===d}))||u.includes(d);return d&&f&&(i.fontFamily=d),i},menus:[{key:`fontSize`,factory:function(){return new C_e},config:{fontSizeList:[`12px`,{name:`13px`,value:`13px`},`14px`,`15px`,`16px`,`19px`,{name:`22px`,value:`22px`},`24px`,`29px`,`32px`,`40px`,`48px`]}},{key:`fontFamily`,factory:function(){return new w_e},config:{fontFamilyList:[`黑体`,{name:`仿宋`,value:`仿宋`},`楷体`,`标楷体`,`华文仿宋`,`华文楷体`,{name:`宋体`,value:`宋体`},`微软雅黑`,`Arial`,`Tahoma`,`Verdana`,`Times New Roman`,`Courier New`]}}]},E_e={selector:`p,h1,h2,h3,h4,h5`,preParseHtml:function(e){var t=B(e),n=VA(t,`padding-left`);return/\dem/.test(n)&&t.css(`text-indent`,`2em`),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css(`text-indent`,`2em`),t[0]}},qF=function(){function e(){this.tag=`button`}return e.prototype.getValue=function(e){var t=YA(P.nodes(e,{match:function(e){return!!e.indent},universal:!0}),1)[0];return t==null?``:YA(t,1)[0].indent||``},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=YA(P.nodes(e,{match:function(e){var t=G.getNodeType(e);return t===`paragraph`||!!t.startsWith(`header`)},universal:!0,mode:`highest`}),1)[0];return t==null?null:t[0]},e}(),D_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`indent.decrease`),t.iconSvg=Dj,t}return WA(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return t==null||!t.indent},t.prototype.exec=function(e,t){z.setNodes(e,{indent:null},{match:function(e){return N.isElement(e)}})},t}(qF),O_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`indent.increase`),t.iconSvg=Oj,t}return WA(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return t==null||!!t.indent},t.prototype.exec=function(e,t){z.setNodes(e,{indent:`2em`},{match:function(e){return N.isElement(e)},mode:`highest`})},t}(qF),k_e={renderStyle:function(e,t){if(!N.isElement(e))return t;var n=e.indent,r=t;return n&&sM(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!N.isElement(e))return t;var n=e.indent;if(!n)return t;var r=B(t);return r.css(`text-indent`,n),zA(r)},preParseHtml:[E_e],parseStyleHtml:function(e,t,n){var r=B(e);if(!N.isElement(t))return t;var i=t,a=VA(r,`text-indent`);return a&&parseInt(a,10)>0&&(i.indent=a),i},menus:[{key:`indent`,factory:function(){return new O_e}},{key:`delIndent`,factory:function(){return new D_e}}]},JF=function(){function e(){this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=YA(P.nodes(e,{match:function(e){var t=G.getNodeType(e);return t===`paragraph`||t===`blockquote`||!!t.startsWith(`header`)},universal:!0,mode:`highest`}),1)[0];return t==null?null:t[0]},e.prototype.isDisabled=function(e){return e.selection==null||!!G.getSelectedElems(e).some((function(t){if(P.isVoid(e,t)&&P.isBlock(e,t))return!0;var n=t.type;return!![`pre`,`code`].includes(n)||void 0}))},e}(),A_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`justify.left`),t.iconSvg=kj,t}return WA(t,e),t.prototype.exec=function(e,t){z.setNodes(e,{textAlign:`left`},{match:function(t){return N.isElement(t)&&!e.isInline(t)}})},t}(JF),j_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`justify.right`),t.iconSvg=Aj,t}return WA(t,e),t.prototype.exec=function(e,t){z.setNodes(e,{textAlign:`right`},{match:function(t){return N.isElement(t)&&!e.isInline(t)}})},t}(JF),M_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`justify.center`),t.iconSvg=jj,t}return WA(t,e),t.prototype.exec=function(e,t){z.setNodes(e,{textAlign:`center`},{match:function(t){return N.isElement(t)&&!e.isInline(t)}})},t}(JF),N_e=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.title=K(`justify.justify`),t.iconSvg=Mj,t}return WA(t,e),t.prototype.exec=function(e,t){z.setNodes(e,{textAlign:`justify`},{match:function(t){return N.isElement(t)&&!e.isInline(t)}})},t}(JF),P_e={renderStyle:function(e,t){if(!N.isElement(e))return t;var n=e.textAlign,r=t;return n&&sM(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!N.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=B(t);return r.css(`text-align`,n),zA(r)},parseStyleHtml:function(e,t,n){var r=B(e);if(!N.isElement(t))return t;var i=t,a=VA(r,`text-align`);return a&&(i.textAlign=a),i},menus:[{key:`justifyLeft`,factory:function(){return new A_e}},{key:`justifyRight`,factory:function(){return new j_e}},{key:`justifyCenter`,factory:function(){return new M_e}},{key:`justifyJustify`,factory:function(){return new N_e}}]},F_e=function(){function e(){this.title=K(`lineHeight.title`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>`,this.tag=`select`,this.width=80}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(`lineHeight`).lineHeightList,r=n===void 0?[]:n;t.push({text:K(`lineHeight.default`),value:``}),r.forEach((function(e){t.push({text:e,value:e})}));var i=this.getValue(e);return t.forEach((function(e){e.value===i?e.selected=!0:delete e.selected})),t},e.prototype.getMatchNode=function(e){var t=YA(P.nodes(e,{match:function(e){var t=G.getNodeType(e);return!!t.startsWith(`header`)||!![`paragraph`,`blockquote`,`list-item`].includes(t)},universal:!0,mode:`highest`}),1)[0];return t==null?null:t[0]},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return t==null?``:N.isElement(t)&&t.lineHeight||``},e.prototype.isDisabled=function(e){return e.selection==null||this.getMatchNode(e)==null},e.prototype.exec=function(e,t){z.setNodes(e,{lineHeight:t.toString()},{mode:`highest`})},e}(),I_e={renderStyle:function(e,t){if(!N.isElement(e))return t;var n=e.lineHeight,r=t;return n&&sM(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!N.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=B(t);return r.css(`line-height`,n),zA(r)},parseStyleHtml:function(e,t,n){var r=B(e);if(!N.isElement(t))return t;var i=t,a=n.getMenuConfig(`lineHeight`).lineHeightList,o=a===void 0?[]:a,s=VA(r,`line-height`);return s&&o.includes(s)&&(i.lineHeight=s),i},menus:[{key:`lineHeight`,factory:function(){return new F_e},config:{lineHeightList:[`1`,`1.15`,`1.5`,`2`,`2.5`,`3`]}}]},L_e=function(){function e(){this.title=K(`undo.redo`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null},e.prototype.exec=function(e,t){typeof e.redo==`function`&&e.redo()},e}(),R_e=function(){function e(){this.title=K(`undo.undo`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null},e.prototype.exec=function(e,t){typeof e.undo==`function`&&e.undo()},e}(),z_e={menus:[{key:`redo`,factory:function(){return new L_e}},{key:`undo`,factory:function(){return new R_e}}]},B_e={type:`divider`,renderElem:function(e,t,n){return gm(`div`,{props:{contentEditable:!1,className:`w-e-textarea-divider`},dataset:{selected:G.isNodeSelected(n,e)?`true`:``},style:{},on:{mousedown:function(e){return e.preventDefault()}}},[gm(`hr`)])}},V_e=function(){function e(){this.title=K(`divider.title`),this.iconSvg=`<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||!!G.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=G.getNodeType(t);return n===`table`||n===`pre`||void 0}))},e.prototype.exec=function(e,t){z.insertNodes(e,{type:`divider`,children:[{text:``}]},{mode:`highest`})},e}(),H_e={renderElems:[B_e],elemsToHtml:[{type:`divider`,elemToHtml:function(e,t){return`<hr/>`}}],parseElemsHtml:[{selector:`hr:not([data-w-e-type])`,parseElemHtml:function(e,t,n){return{type:`divider`,children:[{text:``}]}}}],menus:[{key:`divider`,factory:function(){return new V_e}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return e.type===`divider`||t(e)},r.normalizeNode=function(e){var t=YA(e,2),i=t[0],a=t[1];if(G.getNodeType(i)!==`divider`)return n([i,a]);G.isLastNode(r,i)&&z.insertNodes(r,G.genEmptyParagraph(),{at:[a[0]+1]})},r}},U_e=lk.map;YO({target:`Array`,proto:!0,forced:!uk(`map`)},{map:function(e){return U_e(this,e,arguments.length>1?arguments[1]:void 0)}});var W_e=q([].join),G_e=ID!=Object,K_e=cj(`join`,`,`);YO({target:`Array`,proto:!0,forced:G_e||!K_e},{join:function(e){return W_e(RD(this),e===void 0?`,`:e)}});var q_e=function(){function e(){this.title=K(`codeBlock.title`),this.iconSvg=`<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>`,this.tag=`button`}return e.prototype.getSelectCodeElem=function(e){var t=G.getSelectedNodeByType(e,`code`);if(t==null)return null;var n=G.getParentNode(e,t);return n==null||G.getNodeType(n)!==`pre`?null:t},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return t==null?``:t.language||``},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},e.prototype.isDisabled=function(e){if(e.selection==null)return!0;var t=G.getSelectedElems(e);return!!t.some((function(t){return e.isVoid(t)}))||!t.some((function(e){var t=G.getNodeType(e);if(t===`pre`||t===`paragraph`)return!0}))},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString())},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(t!=null){var n=F.string(t);z.removeNodes(e,{mode:`highest`});var r=n.split(`
58
+ `).map((function(e){return{type:`paragraph`,children:[{text:e}]}}));z.insertNodes(e,r,{mode:`highest`})}},e.prototype.changeToCodeBlock=function(e,t){var n,r,i=[],a=P.nodes(e,{match:function(t){return e.children.includes(t)},universal:!0});try{for(var o=JA(a),s=o.next();!s.done;s=o.next()){var c=YA(s.value,1)[0];c&&i.push(F.string(c))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}z.removeNodes(e,{mode:`highest`});var l={type:`pre`,children:[{type:`code`,language:t,children:[{text:i.join(`
59
+ `)}]}]};z.insertNodes(e,l,{mode:`highest`})},e}(),J_e={key:`codeBlock`,factory:function(){return new q_e}};YO({target:`String`,proto:!0,forced:tj(`anchor`)},{anchor:function(e){return ej(this,`a`,`name`,e)}}),Bk(`match`,(function(e,t,n){return[function(t){var n=LD(this),r=t==null?void 0:eO(t,e);return r?ED(r,t,n):new RegExp(t)[e](fk(n))},function(e){var r=_O(this),i=fk(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return eA(r,i);var o=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;(s=eA(r,i))!==null;){var u=fk(s[0]);c[l]=u,u===``&&(r.lastIndex=Gk(i,BO(r.lastIndex),o)),l++}return l===0?null:c}]}));var Y_e={menus:[J_e],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var i=e;return i.insertBreak=function(){var e=G.getSelectedNodeByType(i,`code`);if(e!=null){var n=function(e,t){var n=t.selection;if(n==null)return``;var r=F.string(e),i=n.anchor.offset,a=r.slice(0,i).split(`
60
+ `),o=a.length;return o===0?``:a[o-1]}(e,i);if(n){var r=n.match(/^\s+/);if(r!=null&&r[0]!=null){var a=r[0];i.insertText(`
61
+ `+a);return}}i.insertText(`
62
+ `)}else t()},i.normalizeNode=function(e){var t=YA(e,2),r=t[0],a=t[1],o=G.getNodeType(r);return o===`code`&&a.length<=1&&z.setNodes(i,{type:`paragraph`},{at:a}),o===`pre`&&(G.isLastNode(i,r)&&z.insertNodes(i,G.genEmptyParagraph(),{at:[a[0]+1]}),G.getNodeType(r.children[0])!==`code`&&(z.unwrapNodes(i),z.setNodes(i,{type:`paragraph`},{mode:`highest`}))),n([r,a])},i.insertData=function(e){if(G.getSelectedNodeByType(i,`code`)!=null){var t=e.getData(`text/plain`);P.insertText(i,t)}else r(e)},i},renderElems:[{type:`pre`,renderElem:function(e,t,n){return V(`pre`,null,t)}},{type:`code`,renderElem:function(e,t,n){return V(`code`,null,t)}}],elemsToHtml:[{type:`code`,elemToHtml:function(e,t){return`<code>`+t+`</code>`}},{type:`pre`,elemToHtml:function(e,t){return`<pre>`+t+`</pre>`}}],preParseHtml:[{selector:`pre>code`,preParseHtml:function(e){var t=B(e);if(BA(t)!==`code`)return e;var n=t.find(`xmp`);if(n.length===0)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:`pre:not([data-w-e-type])>code`,parseElemHtml:function(e,t,n){return{type:`code`,language:``,children:[{text:B(e)[0].textContent||``}]}}},{selector:`pre:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);return(t=t.filter((function(e){return G.getNodeType(e)===`code`}))).length===0&&(t=[{type:`code`,language:``,children:[{text:r[0].textContent||``}]}]),{type:`pre`,children:t.filter((function(e){return G.getNodeType(e)===`code`}))}}}]},X_e=function(){function e(){this.title=K(`fullScreen.title`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>`,this.tag=`button`,this.alwaysEnable=!0}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return e.isFullScreen},e.prototype.isDisabled=function(e){return!1},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen()},e}(),Z_e={menus:[{key:`fullScreen`,factory:function(){return new X_e}}]},Q_e=function(){function e(){this.title=K(`common.enter`),this.iconSvg=`<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!!L.isExpanded(t)},e.prototype.exec=function(e,t){var n=e.selection;if(n!=null){var r=[n.anchor.path[0]];z.insertNodes(e,{type:`paragraph`,children:[{text:``}]},{at:r}),e.select(P.start(e,r))}},e}(),$_e=[Uj,Qme,T_e,k_e,P_e,I_e,She,H_e,Ihe,lhe,Y_e,Phe,qme,ZA,The,z_e,Z_e,{menus:[{key:`enter`,factory:function(){return new Q_e}}]}];aD(`en`,{listModule:{unOrderedList:`Unordered list`,orderedList:`Ordered list`}}),aD(`zh-CN`,{listModule:{unOrderedList:`无序列表`,orderedList:`有序列表`}});var YF=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function XF(e){var t={exports:{}};return e(t,t.exports),t.exports}var ZF,QF,$F=function(e){return e&&e.Math==Math&&e},J=$F(typeof globalThis==`object`&&globalThis)||$F(typeof window==`object`&&window)||$F(typeof self==`object`&&self)||$F(typeof YF==`object`&&YF)||function(){return this}()||Function(`return this`)(),eI=Function.prototype,tI=eI.bind,nI=eI.call,eve=tI&&tI.bind(nI),rI=tI?function(e){return e&&eve(nI,e)}:function(e){return e&&function(){return nI.apply(e,arguments)}},iI=function(e){try{return!!e()}catch{return!0}},tve=rI({}.toString),nve=rI(``.slice),aI=function(e){return nve(tve(e),8,-1)},oI=J.Object,rve=rI(``.split),sI=iI((function(){return!oI(`z`).propertyIsEnumerable(0)}))?function(e){return aI(e)==`String`?rve(e,``):oI(e)}:oI,ive=J.TypeError,cI=function(e){if(e==null)throw ive(`Can't call method on `+e);return e},lI=function(e){return sI(cI(e))},ave=Object.defineProperty,uI=function(e,t){try{ave(J,e,{value:t,configurable:!0,writable:!0})}catch{J[e]=t}return t},dI=J[`__core-js_shared__`]||uI(`__core-js_shared__`,{}),fI=XF((function(e){(e.exports=function(e,t){return dI[e]||(dI[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),ove=J.Object,pI=function(e){return ove(cI(e))},sve=rI({}.hasOwnProperty),mI=Object.hasOwn||function(e,t){return sve(pI(e),t)},cve=0,lve=Math.random(),uve=rI(1 .toString),hI=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+uve(++cve+lve,36)},gI=function(e){return typeof e==`function`},dve=function(e){return gI(e)?e:void 0},_I=function(e,t){return arguments.length<2?dve(J[e]):J[e]&&J[e][t]},vI=_I(`navigator`,`userAgent`)||``,yI=J.process,bI=J.Deno,xI=yI&&yI.versions||bI&&bI.version,SI=xI&&xI.v8;SI&&(QF=(ZF=SI.split(`.`))[0]>0&&ZF[0]<4?1:+(ZF[0]+ZF[1])),!QF&&vI&&(!(ZF=vI.match(/Edge\/(\d+)/))||ZF[1]>=74)&&(ZF=vI.match(/Chrome\/(\d+)/))&&(QF=+ZF[1]);var CI,wI=QF,TI=!!Object.getOwnPropertySymbols&&!iI((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&wI&&wI<41})),EI=TI&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,DI=fI(`wks`),OI=J.Symbol,kI=OI&&OI.for,fve=EI?OI:OI&&OI.withoutSetter||hI,AI=function(e){if(!mI(DI,e)||!TI&&typeof DI[e]!=`string`){var t=`Symbol.`+e;TI&&mI(OI,e)?DI[e]=OI[e]:DI[e]=EI&&kI?kI(t):fve(t)}return DI[e]},jI=function(e){return typeof e==`object`?e!==null:gI(e)},pve=J.String,mve=J.TypeError,MI=function(e){if(jI(e))return e;throw mve(pve(e)+` is not an object`)},NI=!iI((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),PI=J.document,hve=jI(PI)&&jI(PI.createElement),FI=function(e){return hve?PI.createElement(e):{}},II=!NI&&!iI((function(){return Object.defineProperty(FI(`div`),`a`,{get:function(){return 7}}).a!=7})),LI=Function.prototype.call,RI=LI.bind?LI.bind(LI):function(){return LI.apply(LI,arguments)},zI=rI({}.isPrototypeOf),gve=J.Object,BI=EI?function(e){return typeof e==`symbol`}:function(e){var t=_I(`Symbol`);return gI(t)&&zI(t.prototype,gve(e))},_ve=J.String,VI=function(e){try{return _ve(e)}catch{return`Object`}},vve=J.TypeError,HI=function(e){if(gI(e))return e;throw vve(VI(e)+` is not a function`)},UI=function(e,t){var n=e[t];return n==null?void 0:HI(n)},yve=J.TypeError,bve=J.TypeError,xve=AI(`toPrimitive`),WI=function(e){var t=function(e,t){if(!jI(e)||BI(e))return e;var n,r=UI(e,xve);if(r){if(t===void 0&&(t=`default`),n=RI(r,e,t),!jI(n)||BI(n))return n;throw bve(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&gI(n=e.toString)&&!jI(r=RI(n,e))||gI(n=e.valueOf)&&!jI(r=RI(n,e))||t!==`string`&&gI(n=e.toString)&&!jI(r=RI(n,e)))return r;throw yve(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return BI(t)?t:t+``},Sve=J.TypeError,GI=Object.defineProperty,KI={f:NI?GI:function(e,t,n){if(MI(e),t=WI(t),MI(n),II)try{return GI(e,t,n)}catch{}if(`get`in n||`set`in n)throw Sve(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},Cve=Math.ceil,wve=Math.floor,qI=function(e){var t=+e;return t!=t||t===0?0:(t>0?wve:Cve)(t)},Tve=Math.max,Eve=Math.min,JI=function(e,t){var n=qI(e);return n<0?Tve(n+t,0):Eve(n,t)},Dve=Math.min,YI=function(e){return e>0?Dve(qI(e),9007199254740991):0},XI=function(e){return YI(e.length)},ZI=function(e){return function(t,n,r){var i,a=lI(t),o=XI(a),s=JI(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},QI={includes:ZI(!0),indexOf:ZI(!1)},$I={},Ove=QI.indexOf,eL=rI([].push),tL=function(e,t){var n,r=lI(e),i=0,a=[];for(n in r)!mI($I,n)&&mI(r,n)&&eL(a,n);for(;t.length>i;)mI(r,n=t[i++])&&(~Ove(a,n)||eL(a,n));return a},nL=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],kve=Object.keys||function(e){return tL(e,nL)},Ave=NI?Object.defineProperties:function(e,t){MI(e);for(var n,r=lI(t),i=kve(t),a=i.length,o=0;a>o;)KI.f(e,n=i[o++],r[n]);return e},jve=_I(`document`,`documentElement`),rL=fI(`keys`),iL=function(e){return rL[e]||(rL[e]=hI(e))},aL=iL(`IE_PROTO`),oL=function(){},sL=function(e){return`<script>`+e+`<\/script>`},cL=function(e){e.write(sL(``)),e.close();var t=e.parentWindow.Object;return e=null,t},lL=function(){try{CI=new ActiveXObject(`htmlfile`)}catch{}var e,t;lL=typeof document<`u`?document.domain&&CI?cL(CI):((t=FI(`iframe`)).style.display=`none`,jve.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(sL(`document.F=Object`)),e.close(),e.F):cL(CI);for(var n=nL.length;n--;)delete lL.prototype[nL[n]];return lL()};$I[aL]=!0;var uL=Object.create||function(e,t){var n;return e===null?n=lL():(oL.prototype=MI(e),n=new oL,oL.prototype=null,n[aL]=e),t===void 0?n:Ave(n,t)},dL=AI(`unscopables`),fL=Array.prototype;fL[dL]??KI.f(fL,dL,{configurable:!0,value:uL(null)});var pL=function(e){fL[dL][e]=!0},mL={},Mve=rI(Function.toString);gI(dI.inspectSource)||(dI.inspectSource=function(e){return Mve(e)});var hL,gL,_L,vL=dI.inspectSource,yL=J.WeakMap,bL=gI(yL)&&/native code/.test(vL(yL)),xL=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},SL=NI?function(e,t,n){return KI.f(e,t,xL(1,n))}:function(e,t,n){return e[t]=n,e},CL=J.TypeError,Nve=J.WeakMap;if(bL||dI.state){var wL=dI.state||=new Nve,Pve=rI(wL.get),TL=rI(wL.has),Fve=rI(wL.set);hL=function(e,t){if(TL(wL,e))throw new CL(`Object already initialized`);return t.facade=e,Fve(wL,e,t),t},gL=function(e){return Pve(wL,e)||{}},_L=function(e){return TL(wL,e)}}else{var EL=iL(`state`);$I[EL]=!0,hL=function(e,t){if(mI(e,EL))throw new CL(`Object already initialized`);return t.facade=e,SL(e,EL,t),t},gL=function(e){return mI(e,EL)?e[EL]:{}},_L=function(e){return mI(e,EL)}}var DL,OL,kL,AL={set:hL,get:gL,has:_L,enforce:function(e){return _L(e)?gL(e):hL(e,{})},getterFor:function(e){return function(t){var n;if(!jI(t)||(n=gL(t)).type!==e)throw CL(`Incompatible receiver, `+e+` required`);return n}}},jL={}.propertyIsEnumerable,ML=Object.getOwnPropertyDescriptor,Ive={f:ML&&!jL.call({1:2},1)?function(e){var t=ML(this,e);return!!t&&t.enumerable}:jL},NL=Object.getOwnPropertyDescriptor,PL={f:NI?NL:function(e,t){if(e=lI(e),t=WI(t),II)try{return NL(e,t)}catch{}if(mI(e,t))return xL(!RI(Ive.f,e,t),e[t])}},FL=Function.prototype,Lve=NI&&Object.getOwnPropertyDescriptor,IL=mI(FL,`name`),LL={EXISTS:IL,PROPER:IL&&function(){}.name===`something`,CONFIGURABLE:IL&&(!NI||NI&&Lve(FL,`name`).configurable)},RL=XF((function(e){var t=LL.CONFIGURABLE,n=AL.get,r=AL.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;gI(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!mI(a,`name`)||t&&a.name!==d)&&SL(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===J?l?e[n]=a:uI(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:SL(e,n,a))})(Function.prototype,`toString`,(function(){return gI(this)&&n(this).source||vL(this)}))})),Rve=nL.concat(`length`,`prototype`),zL={f:Object.getOwnPropertyNames||function(e){return tL(e,Rve)}},zve={f:Object.getOwnPropertySymbols},Bve=rI([].concat),Vve=_I(`Reflect`,`ownKeys`)||function(e){var t=zL.f(MI(e)),n=zve.f;return n?Bve(t,n(e)):t},Hve=function(e,t){for(var n=Vve(t),r=KI.f,i=PL.f,a=0;a<n.length;a++){var o=n[a];mI(e,o)||r(e,o,i(t,o))}},Uve=/#|\.prototype\./,BL=function(e,t){var n=Gve[Wve(e)];return n==qve||n!=Kve&&(gI(t)?iI(t):!!t)},Wve=BL.normalize=function(e){return String(e).replace(Uve,`.`).toLowerCase()},Gve=BL.data={},Kve=BL.NATIVE=`N`,qve=BL.POLYFILL=`P`,VL=BL,Jve=PL.f,HL=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?J:l?J[s]||uI(s,{}):(J[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=Jve(n,r))&&o.value:n[r],!VL(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;Hve(a,i)}(e.sham||i&&i.sham)&&SL(a,`sham`,!0),RL(n,r,a,e)}},Yve=!iI((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),UL=iL(`IE_PROTO`),WL=J.Object,Xve=WL.prototype,GL=Yve?WL.getPrototypeOf:function(e){var t=pI(e);if(mI(t,UL))return t[UL];var n=t.constructor;return gI(n)&&t instanceof n?n.prototype:t instanceof WL?Xve:null},KL=AI(`iterator`),qL=!1;[].keys&&(`next`in(kL=[].keys())?(OL=GL(GL(kL)))!==Object.prototype&&(DL=OL):qL=!0),(DL==null||iI((function(){var e={};return DL[KL].call(e)!==e})))&&(DL={}),gI(DL[KL])||RL(DL,KL,(function(){return this}));var JL={IteratorPrototype:DL,BUGGY_SAFARI_ITERATORS:qL},Zve=KI.f,YL=AI(`toStringTag`),XL=function(e,t,n){e&&!mI(e=n?e:e.prototype,YL)&&Zve(e,YL,{configurable:!0,value:t})},Qve=JL.IteratorPrototype,$ve=function(){return this},eye=J.String,tye=J.TypeError,ZL=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=rI(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return MI(n),function(e){if(typeof e==`object`||gI(e))return e;throw tye(`Can't set `+eye(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),nye=LL.PROPER,rye=LL.CONFIGURABLE,QL=JL.IteratorPrototype,$L=JL.BUGGY_SAFARI_ITERATORS,eR=AI(`iterator`),iye=function(){return this},tR=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=uL(Qve,{next:xL(1,n)}),XL(e,i,!1),mL[i]=$ve})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!$L&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[eR]||p[`@@iterator`]||i&&p[i],h=!$L&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=GL(g.call(new e)))!==Object.prototype&&s.next&&(GL(s)!==QL&&(ZL?ZL(s,QL):gI(s[eR])||RL(s,eR,iye)),XL(s,d,!0)),nye&&i==`values`&&m&&m.name!==`values`&&(rye?SL(p,`name`,`values`):(f=!0,h=function(){return RI(m,this)})),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)($L||f||!(l in p))&&RL(p,l,c[l]);else HL({target:t,proto:!0,forced:$L||f},c);return p[eR]!==h&&RL(p,eR,h,{name:i}),mL[t]=h,c},aye=AL.set,oye=AL.getterFor(`Array Iterator`),nR=tR(Array,`Array`,(function(e,t){aye(this,{type:`Array Iterator`,target:lI(e),index:0,kind:t})}),(function(){var e=oye(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`);mL.Arguments=mL.Array,pL(`keys`),pL(`values`),pL(`entries`);var rR={};rR[AI(`toStringTag`)]=`z`;var iR=String(rR)===`[object z]`,sye=AI(`toStringTag`),cye=J.Object,lye=aI(function(){return arguments}())==`Arguments`,aR=iR?aI:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=cye(e),sye))==`string`?n:lye?aI(t):(r=aI(t))==`Object`&&gI(t.callee)?`Arguments`:r},uye=iR?{}.toString:function(){return`[object `+aR(this)+`]`};iR||RL(Object.prototype,`toString`,uye,{unsafe:!0});var dye=J.String,oR=function(e){if(aR(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return dye(e)},fye=rI(``.charAt),sR=rI(``.charCodeAt),pye=rI(``.slice),cR=function(e){return function(t,n){var r,i,a=oR(cI(t)),o=qI(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=sR(a,o))<55296||r>56319||o+1===s||(i=sR(a,o+1))<56320||i>57343?e?fye(a,o):r:e?pye(a,o,o+2):i-56320+(r-55296<<10)+65536}},lR={codeAt:cR(!1),charAt:cR(!0)},mye=lR.charAt,hye=AL.set,gye=AL.getterFor(`String Iterator`);tR(String,`String`,(function(e){hye(this,{type:`String Iterator`,string:oR(e),index:0})}),(function(){var e,t=gye(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mye(n,r),t.index+=e.length,{value:e,done:!1})}));var uR=function(e,t,n){for(var r in t)RL(e,r,t[r],n);return e},_ye=J.Array,vye=Math.max,dR=zL.f,fR=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yye={f:function(e){return fR&&aI(e)==`Window`?function(e){try{return dR(e)}catch{return function(e,t,n){for(var r,i,a,o,s=XI(e),c=JI(void 0,s),l=JI(s,s),u=_ye(vye(l-c,0)),d=0;c<l;c++,d++)r=u,i=d,a=e[c],(o=WI(i))in r?KI.f(r,o,xL(0,a)):r[o]=a;return u.length=d,u}(fR)}}(e):dR(lI(e))}},pR=iI((function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,`a`,{value:8})}})),mR=Object.isExtensible,hR=iI((function(){mR(1)}))||pR?function(e){return!!jI(e)&&(!pR||aI(e)!=`ArrayBuffer`)&&(!mR||mR(e))}:mR,bye=!iI((function(){return Object.isExtensible(Object.preventExtensions({}))})),gR=XF((function(e){var t=KI.f,n=!1,r=hI(`meta`),i=0,a=function(e){t(e,r,{value:{objectID:`O`+ i++,weakData:{}}})},o=e.exports={enable:function(){o.enable=function(){},n=!0;var e=zL.f,t=rI([].splice),i={};i[r]=1,e(i).length&&(zL.f=function(n){for(var i=e(n),a=0,o=i.length;a<o;a++)if(i[a]===r){t(i,a,1);break}return i},HL({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:yye.f}))},fastKey:function(e,t){if(!jI(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!mI(e,r)){if(!hR(e))return`F`;if(!t)return`E`;a(e)}return e[r].objectID},getWeakData:function(e,t){if(!mI(e,r)){if(!hR(e))return!0;if(!t)return!1;a(e)}return e[r].weakData},onFreeze:function(e){return bye&&n&&hR(e)&&!mI(e,r)&&a(e),e}};$I[r]=!0})),_R=rI(rI.bind),vR=function(e,t){return HI(e),t===void 0?e:_R?_R(e,t):function(){return e.apply(t,arguments)}},xye=AI(`iterator`),Sye=Array.prototype,Cye=AI(`iterator`),yR=function(e){if(e!=null)return UI(e,Cye)||UI(e,`@@iterator`)||mL[aR(e)]},wye=J.TypeError,bR=function(e,t,n){var r,i;MI(e);try{if(!(r=UI(e,`return`))){if(t===`throw`)throw n;return n}r=RI(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return MI(r),n},Tye=J.TypeError,xR=function(e,t){this.stopped=e,this.result=t},SR=xR.prototype,CR=function(e,t,n){var r,i,a,o,s,c,l,u,d=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),h=vR(t,d),g=function(e){return r&&bR(r,`normal`,e),new xR(!0,e)},_=function(e){return f?(MI(e),m?h(e[0],e[1],g):h(e[0],e[1])):m?h(e,g):h(e)};if(p)r=e;else{if(!(i=yR(e)))throw Tye(VI(e)+` is not iterable`);if((u=i)!==void 0&&(mL.Array===u||Sye[xye]===u)){for(a=0,o=XI(e);o>a;a++)if((s=_(e[a]))&&zI(SR,s))return s;return new xR(!1)}r=function(e,t){var n=arguments.length<2?yR(e):t;if(HI(n))return MI(RI(n,e));throw wye(VI(e)+` is not iterable`)}(e,i)}for(c=r.next;!(l=RI(c,r)).done;){try{s=_(l.value)}catch(e){bR(r,`throw`,e)}if(typeof s==`object`&&s&&zI(SR,s))return s}return new xR(!1)},Eye=J.TypeError,wR=function(e,t){if(zI(t,e))return e;throw Eye(`Incorrect invocation`)},TR=AI(`iterator`),ER=!1;try{var DR=0,OR={next:function(){return{done:!!DR++}},return:function(){ER=!0}};OR[TR]=function(){return this},Array.from(OR,(function(){throw 2}))}catch{}var kR=Array.isArray||function(e){return aI(e)==`Array`},AR=function(){},jR=[],MR=_I(`Reflect`,`construct`),NR=/^\s*(?:class|function)\b/,PR=rI(NR.exec),FR=!NR.exec(AR),IR=function(e){if(!gI(e))return!1;try{return MR(AR,jR,e),!0}catch{return!1}},LR=!MR||iI((function(){var e;return IR(IR.call)||!IR(Object)||!IR((function(){e=!0}))||e}))?function(e){if(!gI(e))return!1;switch(aR(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return FR||!!PR(NR,vL(e))}:IR,RR=AI(`species`),zR=J.Array,BR=function(e,t){return new(function(e){var t;return kR(e)&&(t=e.constructor,(LR(t)&&(t===zR||kR(t.prototype))||jI(t)&&(t=t[RR])===null)&&(t=void 0)),t===void 0?zR:t}(e))(t===0?0:t)},VR=rI([].push),HR=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=pI(c),h=sI(m),g=vR(l,u),_=XI(h),v=0,y=d||BR,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:VR(b,f)}else switch(e){case 4:return!1;case 7:VR(b,f)}return a?-1:r||i?i:b}},UR={forEach:HR(0),map:HR(1),filter:HR(2),some:HR(3),every:HR(4),find:HR(5),findIndex:HR(6),filterReject:HR(7)},WR=gR.getWeakData,GR=AL.set,KR=AL.getterFor,qR=UR.find,JR=UR.findIndex,YR=rI([].splice),XR=0,ZR=function(e){return e.frozen||=new QR},QR=function(){this.entries=[]},$R=function(e,t){return qR(e.entries,(function(e){return e[0]===t}))};QR.prototype={get:function(e){var t=$R(this,e);if(t)return t[1]},has:function(e){return!!$R(this,e)},set:function(e,t){var n=$R(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=JR(this.entries,(function(t){return t[0]===e}));return~t&&YR(this.entries,t,1),!!~t}};var ez,tz={getConstructor:function(e,t,n,r){var i=e((function(e,i){wR(e,a),GR(e,{type:t,id:XR++,frozen:void 0}),i!=null&&CR(i,e[r],{that:e,AS_ENTRIES:n})})),a=i.prototype,o=KR(t),s=function(e,t,n){var r=o(e),i=WR(MI(t),!0);return!0===i?ZR(r).set(t,n):i[r.id]=n,e};return uR(a,{delete:function(e){var t=o(this);if(!jI(e))return!1;var n=WR(e);return!0===n?ZR(t).delete(e):n&&mI(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!jI(e))return!1;var n=WR(e);return!0===n?ZR(t).has(e):n&&mI(n,t.id)}}),uR(a,n?{get:function(e){var t=o(this);if(jI(e)){var n=WR(e);return!0===n?ZR(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),i}},nz=AL.enforce,rz=!J.ActiveXObject&&`ActiveXObject`in J,iz=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},az=function(e,t,n){var r=e.indexOf(`Map`)!==-1,i=e.indexOf(`Weak`)!==-1,a=r?`set`:`add`,o=J[e],s=o&&o.prototype,c=o,l={},u=function(e){var t=rI(s[e]);RL(s,e,e==`add`?function(e){return t(this,e===0?0:e),this}:e==`delete`?function(e){return!(i&&!jI(e))&&t(this,e===0?0:e)}:e==`get`?function(e){return i&&!jI(e)?void 0:t(this,e===0?0:e)}:e==`has`?function(e){return!(i&&!jI(e))&&t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(VL(e,!gI(o)||!(i||s.forEach&&!iI((function(){new o().entries().next()})))))c=n.getConstructor(t,e,r,a),gR.enable();else if(VL(e,!0)){var d=new c,f=d[a](i?{}:-0,1)!=d,p=iI((function(){d.has(1)})),m=function(e,t){if(!ER)return!1;var n=!1;try{var r={};r[TR]=function(){return{next:function(){return{done:n=!0}}}},function(e){new o(e)}(r)}catch{}return n}(),h=!i&&iI((function(){for(var e=new o,t=5;t--;)e[a](t,t);return!e.has(-0)}));m||((c=t((function(e,t){wR(e,s);var n=function(e,t,n){var r,i;return ZL&&gI(r=t.constructor)&&r!==n&&jI(i=r.prototype)&&i!==n.prototype&&ZL(e,i),e}(new o,e,c);return t!=null&&CR(t,n[a],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=c),(p||h)&&(u(`delete`),u(`has`),r&&u(`get`)),(h||f)&&u(a),i&&s.clear&&delete s.clear}return l[e]=c,HL({global:!0,forced:c!=o},l),XL(c,e),i||n.setStrong(c,e,r),c}(`WeakMap`,iz,tz);if(bL&&rz){ez=tz.getConstructor(iz,`WeakMap`,!0),gR.enable();var oz=az.prototype,sz=rI(oz.delete),cz=rI(oz.has),lz=rI(oz.get),uz=rI(oz.set);uR(oz,{delete:function(e){if(jI(e)&&!hR(e)){var t=nz(this);return t.frozen||=new ez,sz(this,e)||t.frozen.delete(e)}return sz(this,e)},has:function(e){if(jI(e)&&!hR(e)){var t=nz(this);return t.frozen||=new ez,cz(this,e)||t.frozen.has(e)}return cz(this,e)},get:function(e){if(jI(e)&&!hR(e)){var t=nz(this);return t.frozen||=new ez,cz(this,e)?lz(this,e):t.frozen.get(e)}return lz(this,e)},set:function(e,t){if(jI(e)&&!hR(e)){var n=nz(this);n.frozen||=new ez,cz(this,e)?uz(this,e,t):n.frozen.set(e,t)}else uz(this,e,t);return this}})}var dz={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},fz=FI(`span`).classList,pz=fz&&fz.constructor&&fz.constructor.prototype,mz=pz===Object.prototype?void 0:pz,hz=AI(`iterator`),gz=AI(`toStringTag`),_z=nR.values,vz=function(e,t){if(e){if(e[hz]!==_z)try{SL(e,hz,_z)}catch{e[hz]=_z}if(e[gz]||SL(e,gz,t),dz[t]){for(var n in nR)if(e[n]!==nR[n])try{SL(e,n,nR[n])}catch{e[n]=nR[n]}}}};for(var yz in dz)vz(J[yz]&&J[yz].prototype,yz);vz(mz,`DOMTokenList`);var bz=new WeakMap,xz={type:`list-item`,renderElem:function(e,t,n){bz.set(e,n);var r=e,i=r.level,a=i===void 0?0:i,o=r.ordered,s={margin:`5px 0 5px `+20*a+`px`},c=``;c=o!==void 0&&o?function(e,t){var n=t,r=n.type,i=n.level,a=i===void 0?0:i,o=n.ordered,s=o!==void 0&&o;if(!s)return-1;var c=1,l=t,u=G.findPath(e,l);if(u[0]===0)return 1;for(;u[0]>0;){var d=I.previous(u),f=P.node(e,d);if(f==null)break;var p=f[0],m=p.level,h=m===void 0?0:m,g=p.type,_=p.ordered;if(g!==r||h<a)break;if(h===a){if(_!==s)break;c++}l=p,u=d}return c}(n,e)+`.`:function(e){e===void 0&&(e=0);var t=``;switch(e){case 0:t=`•`;break;case 1:t=`◦`;break;default:t=`▪`}return t}(a);var l=function(e){var t,n=e.children||[],r=n.length;if(r===0)return``;for(var i=0;i<r&&!t;i++){var a=n[i];R.isText(a)&&(t=a)}return t==null?``:t.color||``}(e);return V(`div`,{style:s},V(`span`,{contentEditable:!1,style:{marginRight:`0.5em`,color:l},"data-w-e-reserve":!0},c),V(`span`,null,t))}},Sz=function(e,t){return Sz=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Sz(e,t)};function Cz(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}Sz(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function wz(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function Tz(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Ez(e){return P.nodes(e,{at:e.selection||void 0,match:function(t){return G.findPath(e,t).length===1}})}var Dz=QI.includes;HL({target:`Array`,proto:!0},{includes:function(e){return Dz(this,e,arguments.length>1?arguments[1]:void 0)}}),pL(`includes`);var Oz,kz,Az=function(){var e=MI(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},jz=J.RegExp,Mz=iI((function(){var e=jz(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),Nz=Mz||iI((function(){return!jz(`a`,`y`).sticky})),Pz={BROKEN_CARET:Mz||iI((function(){var e=jz(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:Nz,UNSUPPORTED_Y:Mz},Fz=J.RegExp,Iz=iI((function(){var e=Fz(`.`,`s`);return!(e.dotAll&&e.exec(`
63
+ `)&&e.flags===`s`)})),Lz=J.RegExp,Rz=iI((function(){var e=Lz(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),zz=AL.get,Bz=fI(`native-string-replace`,String.prototype.replace),Vz=RegExp.prototype.exec,Hz=Vz,Uz=rI(``.charAt),Wz=rI(``.indexOf),Gz=rI(``.replace),Kz=rI(``.slice),qz=(kz=/b*/g,RI(Vz,Oz=/a/,`a`),RI(Vz,kz,`a`),Oz.lastIndex!==0||kz.lastIndex!==0),Jz=Pz.BROKEN_CARET,Yz=/()??/.exec(``)[1]!==void 0;(qz||Yz||Jz||Iz||Rz)&&(Hz=function(e){var t,n,r,i,a,o,s,c=this,l=zz(c),u=oR(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=RI(Hz,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=Jz&&c.sticky,m=RI(Az,c),h=c.source,g=0,_=u;if(p&&(m=Gz(m,`y`,``),Wz(m,`g`)===-1&&(m+=`g`),_=Kz(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&Uz(u,c.lastIndex-1)!==`
64
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),Yz&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),qz&&(r=c.lastIndex),i=RI(Vz,p?n:c,_),p?i?(i.input=Kz(i.input,g),i[0]=Kz(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:qz&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),Yz&&i&&i.length>1&&RI(Bz,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=uL(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var Xz=Hz;HL({target:`RegExp`,proto:!0,forced:/./.exec!==Xz},{exec:Xz});var Zz=function(){function e(){this.type=`list-item`,this.tag=`button`}return e.prototype.getListNode=function(e){var t=this.type;return G.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){var t=this.getListNode(e);if(t==null)return!1;var n=t.ordered;return(n!==void 0&&n)===this.ordered},e.prototype.isDisabled=function(e){return e.selection==null||!!G.getSelectedElems(e).some((function(t){if(P.isVoid(e,t)&&P.isBlock(e,t))return!0;var n=t.type;return!![`pre`,`code`,`table`].includes(n)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?z.setNodes(e,{type:`paragraph`,ordered:void 0,level:void 0}):z.setNodes(e,{type:`list-item`,ordered:this.ordered,indent:void 0})},e}(),Qz=`<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>`,$z=`<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>`,eB=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=K(`listModule.unOrderedList`),t.iconSvg=Qz,t}return Cz(t,e),t}(Zz),tB=function(e){function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=K(`listModule.orderedList`),t.iconSvg=$z,t}return Cz(t,e),t}(Zz),nB={key:`bulletedList`,factory:function(){return new eB}},rB={key:`numberedList`,factory:function(){return new tB}},iB=[],aB={type:`list-item`,elemToHtml:function(e,t){var n=``,r=``,i=e.ordered,a=i!==void 0&&i?`ol`:`ul`,o=function(e){var t=bz.get(e);if(t==null)return 0;var n=e,r=n.type,i=n.ordered,a=i!==void 0&&i,o=n.level,s=o===void 0?0:o,c=G.findPath(t,e);if(c[0]===0)return s+1;var l=I.previous(c),u=P.node(t,l);if(!u)return 0;var d=Tz(u,1)[0];if(G.getNodeType(d)!==r)return s+1;var f=d,p=f.ordered,m=p!==void 0&&p,h=f.level,g=h===void 0?0:h;return g<s?s-g:g>s?0:g===s?m===a?0:1:0}(e);if(o>0)for(var s=0;s<o;s++)n+=`<`+a+`>`,iB.push(a);var c=function(e){var t=bz.get(e);if(t==null)return 0;var n=e,r=n.type,i=n.ordered,a=i!==void 0&&i,o=n.level,s=o===void 0?0:o,c=G.findPath(t,e);if(c[0]===t.children.length-1)return s+1;var l=I.next(c),u=P.node(t,l);if(!u)return 0;var d=Tz(u,1)[0];if(G.getNodeType(d)!==r)return s+1;var f=d,p=f.ordered,m=p!==void 0&&p,h=f.level,g=h===void 0?0:h;return g<s?s-g:g>s?0:g===s?m===a?0:1:0}(e);if(c>0)for(s=0;s<c;s++)r+=`</`+iB.pop()+`>`;return{html:`<li>`+t+`</li>`,prefix:n,suffix:r}}},oB=AI(`species`),sB=UR.filter;HL({target:`Array`,proto:!0,forced:!(wI>=51||!iI((function(){var e=[];return(e.constructor={})[oB]=function(){return{foo:1}},e.filter(Boolean).foo!==1})))},{filter:function(e){return sB(this,e,arguments.length>1?arguments[1]:void 0)}});var cB=Function.prototype,lB=cB.apply,uB=cB.bind,dB=cB.call,fB=typeof Reflect==`object`&&Reflect.apply||(uB?dB.bind(lB):function(){return dB.apply(lB,arguments)}),pB=(AI(`species`),RegExp.prototype),mB=lR.charAt,hB=function(e,t,n){return t+(n?mB(e,t).length:1)},gB=Math.floor,_B=rI(``.charAt),vB=rI(``.replace),yB=rI(``.slice),bB=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,xB=/\$([$&'`]|\d{1,2})/g,SB=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,c=xB;return i!==void 0&&(i=pI(i),c=bB),vB(a,c,(function(a,c){var l;switch(_B(c,0)){case`$`:return`$`;case`&`:return e;case"`":return yB(t,0,n);case`'`:return yB(t,o);case`<`:l=i[yB(c,1,-1)];break;default:var u=+c;if(u===0)return a;if(u>s){var d=gB(u/10);return d===0?a:d<=s?r[d-1]===void 0?_B(c,1):r[d-1]+_B(c,1):a}l=r[u-1]}return l===void 0?``:l}))},CB=J.TypeError,wB=function(e,t){var n=e.exec;if(gI(n)){var r=RI(n,e,t);return r!==null&&MI(r),r}if(aI(e)===`RegExp`)return RI(Xz,e,t);throw CB(`RegExp#exec called on incompatible receiver`)},TB=AI(`replace`),EB=Math.max,DB=Math.min,OB=rI([].concat),kB=rI([].push),AB=rI(``.indexOf),jB=rI(``.slice),MB=`a`.replace(/./,`$0`)===`$0`,NB=!!/./[TB]&&/./[TB](`a`,`$0`)===``;(function(e,t,n,r){var i=AI(e),a=!iI((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!iI((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[i](``),!e}));if(!a||!o||n){var s=rI(/./[i]),c=function(e,t,n){var r=NB?`$`:`$0`;return[function(e,n){var r=cI(this),i=e==null?void 0:UI(e,TB);return i?RI(i,e,r,n):RI(t,oR(r),e,n)},function(e,i){var a=MI(this),o=oR(e);if(typeof i==`string`&&AB(i,r)===-1&&AB(i,`$<`)===-1){var s=n(t,a,o,i);if(s.done)return s.value}var c=gI(i);c||(i=oR(i));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var d=[];;){var f=wB(a,o);if(f===null||(kB(d,f),!l))break;oR(f[0])===``&&(a.lastIndex=hB(o,YI(a.lastIndex),u))}for(var p,m=``,h=0,g=0;g<d.length;g++){for(var _=oR((f=d[g])[0]),v=EB(DB(qI(f.index),o.length),0),y=[],b=1;b<f.length;b++)kB(y,(p=f[b])===void 0?p:String(p));var x=f.groups;if(c){var S=OB([_],y,v,o);x!==void 0&&kB(S,x);var C=oR(fB(i,void 0,S))}else C=SB(_,o,v,y,x,i);v>=h&&(m+=jB(o,h,v)+C,h=v+_.length)}return m+jB(o,h)}]}(0,``[e],(function(e,t,n,r,i){var o=rI(e),c=t.exec;return c===Xz||c===pB.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));RL(String.prototype,e,c[0]),RL(pB,i,c[1])}})(`replace`,0,!!iI((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}))||!MB||NB);var PB=J.TypeError,FB=function(e,t,n,r,i,a,o,s){for(var c,l,u=i,d=0,f=!!o&&vR(o,s);d<r;){if(d in n){if(c=f?f(n[d],d,t):n[d],a>0&&kR(c))l=XI(c),u=FB(e,t,c,l,u,a-1)-1;else{if(u>=9007199254740991)throw PB(`Exceed the acceptable array length`);e[u]=c}u++}d++}return u},IB=FB;function LB(e){return e.length?e[0].tagName.toLowerCase():``}HL({target:`Array`,proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=pI(this),n=XI(t),r=BR(t,0);return r.length=IB(r,t,t,n,0,e===void 0?1:qI(e)),r}}),pL(`flat`),HL({global:!0},{globalThis:J}),Rp&&(B.fn.append=Rp),xp&&(B.fn.attr=xp),Bp&&(B.fn.parent=Bp);var RB={renderElems:[xz],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,i=e;return i.deleteBackward=function(e){var n=i.selection;if(n!=null)if(L.isExpanded(n))t(e);else{var r=G.getSelectedNodeByType(i,`list-item`);if(r!=null)if(n.focus.offset!==0)t(e);else{var a=r.level,o=a===void 0?0:a;o>0?z.setNodes(i,{level:o-1}):z.setNodes(i,{type:`paragraph`,ordered:void 0,level:void 0})}else t(e)}else t(e)},i.handleTab=function(){var e,t,r,a,o=i.selection;if(o!=null){if(L.isCollapsed(o)){var s=G.getSelectedNodeByType(i,`list-item`);if(s==null)return void n();if(o.focus.offset===0){var c=s.level,l=c===void 0?0:c;z.setNodes(i,{level:l+1});return}}if(L.isExpanded(o)){var u=0,d=!1;try{for(var f=wz(Ez(i)),p=f.next();!p.done;p=f.next()){var m=Tz(p.value,1)[0];G.getNodeType(m)===`list-item`?u++:d=!0}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}if(d||u<=1)return void n();try{for(var h=wz(Ez(i)),g=h.next();!g.done;g=h.next()){var _=Tz(g.value,2),v=(m=_[0],_[1]),y=m.level;l=y===void 0?0:y,z.setNodes(i,{level:l+1},{at:v})}}catch(e){r={error:e}}finally{try{g&&!g.done&&(a=h.return)&&a.call(h)}finally{if(r)throw r.error}}}else n()}else n()},i.normalizeNode=function(e){var t=Tz(e,2),n=t[0],a=t[1],o=G.getNodeType(n);return o!==`bulleted-list`&&o!==`numbered-list`||z.unwrapNodes(i,{at:a}),r([n,a])},i},menus:[nB,rB],elemsToHtml:[aB],parseElemsHtml:[{selector:`ul:not([data-w-e-type]),ol:not([data-w-e-type])`,parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:`li:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);return(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]),{type:`list-item`,ordered:function(e){return LB(e.parent())===`ol`}(r),level:function(e){for(var t=0,n=e.parent(),r=LB(n);r===`ul`||r===`ol`;)r=LB(n=n.parent()),t++;return t-1}(r),children:t}}}]},zB=Lr((function(e,t){var n=`__lodash_hash_undefined__`,r=9007199254740991,i=`[object Arguments]`,a=`[object Array]`,o=`[object Boolean]`,s=`[object Date]`,c=`[object Error]`,l=`[object Function]`,u=`[object Map]`,d=`[object Number]`,f=`[object Object]`,p=`[object Promise]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object Symbol]`,v=`[object WeakMap]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,C={};C[`[object Float32Array]`]=C[`[object Float64Array]`]=C[`[object Int8Array]`]=C[`[object Int16Array]`]=C[`[object Int32Array]`]=C[`[object Uint8Array]`]=C[`[object Uint8ClampedArray]`]=C[`[object Uint16Array]`]=C[`[object Uint32Array]`]=!0,C[i]=C[a]=C[y]=C[o]=C[b]=C[s]=C[c]=C[l]=C[u]=C[d]=C[f]=C[m]=C[h]=C[g]=C[v]=!1;var w=typeof Fr==`object`&&Fr&&Fr.Object===Object&&Fr,T=typeof self==`object`&&self&&self.Object===Object&&self,E=w||T||Function(`return this`)(),D=t&&!t.nodeType&&t,O=D&&e&&!e.nodeType&&e,ee=O&&O.exports===D,k=ee&&w.process,te=function(){try{return k&&k.binding&&k.binding(`util`)}catch{}}(),A=te&&te.isTypedArray;function ne(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function re(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ie(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var ae=Array.prototype,oe=Function.prototype,se=Object.prototype,ce=E[`__core-js_shared__`],le=oe.toString,ue=se.hasOwnProperty,de=function(){var e=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),fe=se.toString,pe=RegExp(`^`+le.call(ue).replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),me=ee?E.Buffer:void 0,he=E.Symbol,ge=E.Uint8Array,_e=se.propertyIsEnumerable,ve=ae.splice,ye=he?he.toStringTag:void 0,be=Object.getOwnPropertySymbols,xe=me?me.isBuffer:void 0,Se=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Ce=Ze(E,`DataView`),we=Ze(E,`Map`),Te=Ze(E,`Promise`),Ee=Ze(E,`Set`),De=Ze(E,`WeakMap`),Oe=Ze(Object,`create`),ke=tt(Ce),Ae=tt(we),je=tt(Te),Me=tt(Ee),Ne=tt(De),Pe=he?he.prototype:void 0,Fe=Pe?Pe.valueOf:void 0;function Ie(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Le(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Re(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ze(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Re;++t<n;)this.add(e[t])}function Be(e){this.size=(this.__data__=new Le(e)).size}function Ve(e,t){var n=rt(e),r=!n&&j(e),i=!n&&!r&&it(e),a=!n&&!r&&!i&&lt(e),o=n||r||i||a,s=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var l in e)!t&&!ue.call(e,l)||o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||et(l,c))||s.push(l);return s}function He(e,t){for(var n=e.length;n--;)if(nt(e[n][0],t))return n;return-1}function Ue(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:ye&&ye in Object(e)?function(e){var t=ue.call(e,ye),n=e[ye];try{e[ye]=void 0;var r=!0}catch{}var i=fe.call(e);return r&&(t?e[ye]=n:delete e[ye]),i}(e):function(e){return fe.call(e)}(e)}function We(e){return ct(e)&&Ue(e)==i}function Ge(e,t,n,r,l){return e===t||(e==null||t==null||!ct(e)&&!ct(t)?e!=e&&t!=t:function(e,t,n,r,l,p){var v=rt(e),x=rt(t),S=v?a:$e(e),C=x?a:$e(t),w=(S=S==i?f:S)==f,T=(C=C==i?f:C)==f,E=S==C;if(E&&it(e)){if(!it(t))return!1;v=!0,w=!1}if(E&&!w)return p||=new Be,v||lt(e)?Je(e,t,n,r,l,p):function(e,t,n,r,i,a,l){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!a(new ge(e),new ge(t)));case o:case s:case d:return nt(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+``;case u:var f=re;case h:var p=1&r;if(f||=ie,e.size!=t.size&&!p)return!1;var v=l.get(e);if(v)return v==t;r|=2,l.set(e,t);var x=Je(f(e),f(t),r,i,a,l);return l.delete(e),x;case _:if(Fe)return Fe.call(e)==Fe.call(t)}return!1}(e,t,S,n,r,l,p);if(!(1&n)){var D=w&&ue.call(e,`__wrapped__`),O=T&&ue.call(t,`__wrapped__`);if(D||O){var ee=D?e.value():e,k=O?t.value():t;return p||=new Be,l(ee,k,n,r,p)}}return E?(p||=new Be,function(e,t,n,r,i,a){var o=1&n,s=Ye(e),c=s.length;if(c!=Ye(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:ue.call(t,u)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var p=o;++l<c;){var m=e[u=s[l]],h=t[u];if(r)var g=o?r(h,m,u,t,e,a):r(m,h,u,e,t,a);if(!(g===void 0?m===h||i(m,h,n,r,a):g)){f=!1;break}p||=u==`constructor`}if(f&&!p){var _=e.constructor,v=t.constructor;_==v||!(`constructor`in e)||!(`constructor`in t)||typeof _==`function`&&_ instanceof _&&typeof v==`function`&&v instanceof v||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,r,l,p)):!1}(e,t,n,r,Ge,l))}function Ke(e){return!(!st(e)||function(e){return!!de&&de in e}(e))&&(at(e)?pe:x).test(tt(e))}function qe(e){if(n=(t=e)&&t.constructor,r=typeof n==`function`&&n.prototype||se,t!==r)return Se(e);var t,n,r,i=[];for(var a in Object(e))ue.call(e,a)&&a!=`constructor`&&i.push(a);return i}function Je(e,t,n,r,i,a){var o=1&n,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e);if(l&&a.get(t))return l==t;var u=-1,d=!0,f=2&n?new ze:void 0;for(a.set(e,t),a.set(t,e);++u<s;){var p=e[u],m=t[u];if(r)var h=o?r(m,p,u,t,e,a):r(p,m,u,e,t,a);if(h!==void 0){if(h)continue;d=!1;break}if(f){if(!ne(t,(function(e,t){if(o=t,!f.has(o)&&(p===e||i(p,e,n,r,a)))return f.push(t);var o}))){d=!1;break}}else if(p!==m&&!i(p,m,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function Ye(e){return function(e,t,n){var r=t(e);return rt(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,ut,Qe)}function Xe(e,t){var n,r,i=e.__data__;return((r=typeof(n=t))==`string`||r==`number`||r==`symbol`||r==`boolean`?n!==`__proto__`:n===null)?i[typeof t==`string`?`string`:`hash`]:i.map}function Ze(e,t){var n=function(e,t){return e?.[t]}(e,t);return Ke(n)?n:void 0}Ie.prototype.clear=function(){this.__data__=Oe?Oe(null):{},this.size=0},Ie.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ie.prototype.get=function(e){var t=this.__data__;if(Oe){var r=t[e];return r===n?void 0:r}return ue.call(t,e)?t[e]:void 0},Ie.prototype.has=function(e){var t=this.__data__;return Oe?t[e]!==void 0:ue.call(t,e)},Ie.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Oe&&t===void 0?n:t,this},Le.prototype.clear=function(){this.__data__=[],this.size=0},Le.prototype.delete=function(e){var t=this.__data__,n=He(t,e);return!(n<0)&&(n==t.length-1?t.pop():ve.call(t,n,1),--this.size,!0)},Le.prototype.get=function(e){var t=this.__data__,n=He(t,e);return n<0?void 0:t[n][1]},Le.prototype.has=function(e){return He(this.__data__,e)>-1},Le.prototype.set=function(e,t){var n=this.__data__,r=He(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Re.prototype.clear=function(){this.size=0,this.__data__={hash:new Ie,map:new(we||Le),string:new Ie}},Re.prototype.delete=function(e){var t=Xe(this,e).delete(e);return this.size-=t?1:0,t},Re.prototype.get=function(e){return Xe(this,e).get(e)},Re.prototype.has=function(e){return Xe(this,e).has(e)},Re.prototype.set=function(e,t){var n=Xe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ze.prototype.add=ze.prototype.push=function(e){return this.__data__.set(e,n),this},ze.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.clear=function(){this.__data__=new Le,this.size=0},Be.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Be.prototype.get=function(e){return this.__data__.get(e)},Be.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Le){var r=n.__data__;if(!we||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Re(r)}return n.set(e,t),this.size=n.size,this};var Qe=be?function(e){return e==null?[]:(e=Object(e),function(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}(be(e),(function(t){return _e.call(e,t)})))}:function(){return[]},$e=Ue;function et(e,t){return!!(t??=r)&&(typeof e==`number`||S.test(e))&&e>-1&&e%1==0&&e<t}function tt(e){if(e!=null){try{return le.call(e)}catch{}try{return e+``}catch{}}return``}function nt(e,t){return e===t||e!=e&&t!=t}(Ce&&$e(new Ce(new ArrayBuffer(1)))!=b||we&&$e(new we)!=u||Te&&$e(Te.resolve())!=p||Ee&&$e(new Ee)!=h||De&&$e(new De)!=v)&&($e=function(e){var t=Ue(e),n=t==f?e.constructor:void 0,r=n?tt(n):``;if(r)switch(r){case ke:return b;case Ae:return u;case je:return p;case Me:return h;case Ne:return v}return t});var j=We(function(){return arguments}())?We:function(e){return ct(e)&&ue.call(e,`callee`)&&!_e.call(e,`callee`)},rt=Array.isArray,it=xe||function(){return!1};function at(e){if(!st(e))return!1;var t=Ue(e);return t==l||t==`[object GeneratorFunction]`||t==`[object AsyncFunction]`||t==`[object Proxy]`}function ot(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=r}function st(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function ct(e){return typeof e==`object`&&!!e}var lt=A?function(e){return function(t){return e(t)}}(A):function(e){return ct(e)&&ot(e.length)&&!!C[Ue(e)]};function ut(e){return(t=e)!=null&&ot(t.length)&&!at(t)?Ve(e):qe(e);var t}e.exports=function(e,t){return Ge(e,t)}}));aD(`en`,{tableModule:{deleteCol:`Delete column`,deleteRow:`Delete row`,deleteTable:`Delete table`,widthAuto:`Width auto`,insertCol:`Insert column`,insertRow:`Insert row`,insertTable:`Insert table`,header:`Header`}}),aD(`zh-CN`,{tableModule:{deleteCol:`删除列`,deleteRow:`删除行`,deleteTable:`删除表格`,widthAuto:`宽度自适应`,insertCol:`插入列`,insertRow:`插入行`,insertTable:`插入表格`,header:`表头`}});var BB=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function VB(e){var t={exports:{}};return e(t,t.exports),t.exports}var HB,UB,WB=function(e){return e&&e.Math==Math&&e},GB=WB(typeof globalThis==`object`&&globalThis)||WB(typeof window==`object`&&window)||WB(typeof self==`object`&&self)||WB(typeof BB==`object`&&BB)||function(){return this}()||Function(`return this`)(),KB=function(e){try{return!!e()}catch{return!0}},qB=!KB((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),JB=Function.prototype.call,YB=JB.bind?JB.bind(JB):function(){return JB.apply(JB,arguments)},XB={}.propertyIsEnumerable,ZB=Object.getOwnPropertyDescriptor,QB={f:ZB&&!XB.call({1:2},1)?function(e){var t=ZB(this,e);return!!t&&t.enumerable}:XB},$B=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},eV=Function.prototype,tV=eV.bind,nV=eV.call,rV=tV&&tV.bind(nV),iV=tV?function(e){return e&&rV(nV,e)}:function(e){return e&&function(){return nV.apply(e,arguments)}},aV=iV({}.toString),oV=iV(``.slice),sV=function(e){return oV(aV(e),8,-1)},cV=GB.Object,lV=iV(``.split),uV=KB((function(){return!cV(`z`).propertyIsEnumerable(0)}))?function(e){return sV(e)==`String`?lV(e,``):cV(e)}:cV,dV=GB.TypeError,fV=function(e){if(e==null)throw dV(`Can't call method on `+e);return e},pV=function(e){return uV(fV(e))},mV=function(e){return typeof e==`function`},hV=function(e){return typeof e==`object`?e!==null:mV(e)},gV=function(e){return mV(e)?e:void 0},_V=function(e,t){return arguments.length<2?gV(GB[e]):GB[e]&&GB[e][t]},vV=iV({}.isPrototypeOf),yV=_V(`navigator`,`userAgent`)||``,bV=GB.process,xV=GB.Deno,SV=bV&&bV.versions||xV&&xV.version,CV=SV&&SV.v8;CV&&(UB=(HB=CV.split(`.`))[0]>0&&HB[0]<4?1:+(HB[0]+HB[1])),!UB&&yV&&(!(HB=yV.match(/Edge\/(\d+)/))||HB[1]>=74)&&(HB=yV.match(/Chrome\/(\d+)/))&&(UB=+HB[1]);var wV=UB,TV=!!Object.getOwnPropertySymbols&&!KB((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&wV&&wV<41})),EV=TV&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,DV=GB.Object,OV=EV?function(e){return typeof e==`symbol`}:function(e){var t=_V(`Symbol`);return mV(t)&&vV(t.prototype,DV(e))},kV=GB.String,AV=function(e){try{return kV(e)}catch{return`Object`}},jV=GB.TypeError,MV=function(e){if(mV(e))return e;throw jV(AV(e)+` is not a function`)},NV=function(e,t){var n=e[t];return n==null?void 0:MV(n)},PV=GB.TypeError,FV=Object.defineProperty,IV=function(e,t){try{FV(GB,e,{value:t,configurable:!0,writable:!0})}catch{GB[e]=t}return t},LV=GB[`__core-js_shared__`]||IV(`__core-js_shared__`,{}),RV=VB((function(e){(e.exports=function(e,t){return LV[e]||(LV[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),zV=GB.Object,BV=function(e){return zV(fV(e))},VV=iV({}.hasOwnProperty),HV=Object.hasOwn||function(e,t){return VV(BV(e),t)},UV=0,WV=Math.random(),GV=iV(1 .toString),KV=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+GV(++UV+WV,36)},qV=RV(`wks`),JV=GB.Symbol,YV=JV&&JV.for,XV=EV?JV:JV&&JV.withoutSetter||KV,ZV=function(e){if(!HV(qV,e)||!TV&&typeof qV[e]!=`string`){var t=`Symbol.`+e;TV&&HV(JV,e)?qV[e]=JV[e]:qV[e]=EV&&YV?YV(t):XV(t)}return qV[e]},QV=GB.TypeError,$V=ZV(`toPrimitive`),eH=function(e){var t=function(e,t){if(!hV(e)||OV(e))return e;var n,r=NV(e,$V);if(r){if(t===void 0&&(t=`default`),n=YB(r,e,t),!hV(n)||OV(n))return n;throw QV(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&mV(n=e.toString)&&!hV(r=YB(n,e))||mV(n=e.valueOf)&&!hV(r=YB(n,e))||t!==`string`&&mV(n=e.toString)&&!hV(r=YB(n,e)))return r;throw PV(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return OV(t)?t:t+``},tH=GB.document,nH=hV(tH)&&hV(tH.createElement),rH=function(e){return nH?tH.createElement(e):{}},iH=!qB&&!KB((function(){return Object.defineProperty(rH(`div`),`a`,{get:function(){return 7}}).a!=7})),aH=Object.getOwnPropertyDescriptor,oH={f:qB?aH:function(e,t){if(e=pV(e),t=eH(t),iH)try{return aH(e,t)}catch{}if(HV(e,t))return $B(!YB(QB.f,e,t),e[t])}},sH=GB.String,cH=GB.TypeError,lH=function(e){if(hV(e))return e;throw cH(sH(e)+` is not an object`)},uH=GB.TypeError,dH=Object.defineProperty,fH={f:qB?dH:function(e,t,n){if(lH(e),t=eH(t),lH(n),iH)try{return dH(e,t,n)}catch{}if(`get`in n||`set`in n)throw uH(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},pH=qB?function(e,t,n){return fH.f(e,t,$B(1,n))}:function(e,t,n){return e[t]=n,e},mH=iV(Function.toString);mV(LV.inspectSource)||(LV.inspectSource=function(e){return mH(e)});var hH,gH,_H,vH=LV.inspectSource,yH=GB.WeakMap,bH=mV(yH)&&/native code/.test(vH(yH)),xH=RV(`keys`),SH=function(e){return xH[e]||(xH[e]=KV(e))},CH={},wH=GB.TypeError,TH=GB.WeakMap;if(bH||LV.state){var EH=LV.state||=new TH,DH=iV(EH.get),OH=iV(EH.has),kH=iV(EH.set);hH=function(e,t){if(OH(EH,e))throw new wH(`Object already initialized`);return t.facade=e,kH(EH,e,t),t},gH=function(e){return DH(EH,e)||{}},_H=function(e){return OH(EH,e)}}else{var AH=SH(`state`);CH[AH]=!0,hH=function(e,t){if(HV(e,AH))throw new wH(`Object already initialized`);return t.facade=e,pH(e,AH,t),t},gH=function(e){return HV(e,AH)?e[AH]:{}},_H=function(e){return HV(e,AH)}}var jH={set:hH,get:gH,has:_H,enforce:function(e){return _H(e)?gH(e):hH(e,{})},getterFor:function(e){return function(t){var n;if(!hV(t)||(n=gH(t)).type!==e)throw wH(`Incompatible receiver, `+e+` required`);return n}}},MH=Function.prototype,NH=qB&&Object.getOwnPropertyDescriptor,PH=HV(MH,`name`),FH={EXISTS:PH,PROPER:PH&&function(){}.name===`something`,CONFIGURABLE:PH&&(!qB||qB&&NH(MH,`name`).configurable)},IH=VB((function(e){var t=FH.CONFIGURABLE,n=jH.get,r=jH.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;mV(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!HV(a,`name`)||t&&a.name!==d)&&pH(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===GB?l?e[n]=a:IV(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:pH(e,n,a))})(Function.prototype,`toString`,(function(){return mV(this)&&n(this).source||vH(this)}))})),LH=Math.ceil,RH=Math.floor,zH=function(e){var t=+e;return t!=t||t===0?0:(t>0?RH:LH)(t)},BH=Math.max,VH=Math.min,HH=function(e,t){var n=zH(e);return n<0?BH(n+t,0):VH(n,t)},UH=Math.min,WH=function(e){return e>0?UH(zH(e),9007199254740991):0},GH=function(e){return WH(e.length)},KH=function(e){return function(t,n,r){var i,a=pV(t),o=GH(a),s=HH(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}}(!1),qH=iV([].push),JH=function(e,t){var n,r=pV(e),i=0,a=[];for(n in r)!HV(CH,n)&&HV(r,n)&&qH(a,n);for(;t.length>i;)HV(r,n=t[i++])&&(~KH(a,n)||qH(a,n));return a},YH=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],XH=YH.concat(`length`,`prototype`),ZH={f:Object.getOwnPropertyNames||function(e){return JH(e,XH)}},QH={f:Object.getOwnPropertySymbols},$H=iV([].concat),eU=_V(`Reflect`,`ownKeys`)||function(e){var t=ZH.f(lH(e)),n=QH.f;return n?$H(t,n(e)):t},tU=function(e,t){for(var n=eU(t),r=fH.f,i=oH.f,a=0;a<n.length;a++){var o=n[a];HV(e,o)||r(e,o,i(t,o))}},nU=/#|\.prototype\./,rU=function(e,t){var n=aU[iU(e)];return n==sU||n!=oU&&(mV(t)?KB(t):!!t)},iU=rU.normalize=function(e){return String(e).replace(nU,`.`).toLowerCase()},aU=rU.data={},oU=rU.NATIVE=`N`,sU=rU.POLYFILL=`P`,cU=rU,lU=oH.f,uU=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?GB:l?GB[s]||IV(s,{}):(GB[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=lU(n,r))&&o.value:n[r],!cU(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;tU(a,i)}(e.sham||i&&i.sham)&&pH(a,`sham`,!0),IH(n,r,a,e)}},dU={};dU[ZV(`toStringTag`)]=`z`;var fU=String(dU)===`[object z]`,pU=ZV(`toStringTag`),mU=GB.Object,hU=sV(function(){return arguments}())==`Arguments`,gU=fU?sV:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=mU(e),pU))==`string`?n:hU?sV(t):(r=sV(t))==`Object`&&mV(t.callee)?`Arguments`:r},_U=GB.String,vU=function(e){if(gU(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return _U(e)},yU=/"/g,bU=iV(``.replace);uU({target:`String`,proto:!0,forced:KB((function(){var e=``.anchor(`"`);return e!==e.toLowerCase()||e.split(`"`).length>3}))},{anchor:function(e){return t=e,n=vU(fV(this)),r=`<a`,(r+=` name="`+bU(vU(t),yU,`&quot;`)+`"`)+`>`+n+`</a>`;var t,n,r}});var xU,SU=function(){var e=lH(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},CU=GB.RegExp,wU=KB((function(){var e=CU(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),TU=wU||KB((function(){return!CU(`a`,`y`).sticky})),EU={BROKEN_CARET:wU||KB((function(){var e=CU(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:TU,UNSUPPORTED_Y:wU},DU=Object.keys||function(e){return JH(e,YH)},OU=qB?Object.defineProperties:function(e,t){lH(e);for(var n,r=pV(t),i=DU(t),a=i.length,o=0;a>o;)fH.f(e,n=i[o++],r[n]);return e},kU=_V(`document`,`documentElement`),AU=SH(`IE_PROTO`),jU=function(){},MU=function(e){return`<script>`+e+`<\/script>`},NU=function(e){e.write(MU(``)),e.close();var t=e.parentWindow.Object;return e=null,t},PU=function(){try{xU=new ActiveXObject(`htmlfile`)}catch{}var e,t;PU=typeof document<`u`?document.domain&&xU?NU(xU):((t=rH(`iframe`)).style.display=`none`,kU.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(MU(`document.F=Object`)),e.close(),e.F):NU(xU);for(var n=YH.length;n--;)delete PU.prototype[YH[n]];return PU()};CH[AU]=!0;var FU,IU,LU=Object.create||function(e,t){var n;return e===null?n=PU():(jU.prototype=lH(e),n=new jU,jU.prototype=null,n[AU]=e),t===void 0?n:OU(n,t)},RU=GB.RegExp,zU=KB((function(){var e=RU(`.`,`s`);return!(e.dotAll&&e.exec(`
65
+ `)&&e.flags===`s`)})),BU=GB.RegExp,VU=KB((function(){var e=BU(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),HU=jH.get,UU=RV(`native-string-replace`,String.prototype.replace),WU=RegExp.prototype.exec,GU=WU,KU=iV(``.charAt),qU=iV(``.indexOf),JU=iV(``.replace),YU=iV(``.slice),XU=(IU=/b*/g,YB(WU,FU=/a/,`a`),YB(WU,IU,`a`),FU.lastIndex!==0||IU.lastIndex!==0),ZU=EU.BROKEN_CARET,QU=/()??/.exec(``)[1]!==void 0;(XU||QU||ZU||zU||VU)&&(GU=function(e){var t,n,r,i,a,o,s,c=this,l=HU(c),u=vU(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=YB(GU,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=ZU&&c.sticky,m=YB(SU,c),h=c.source,g=0,_=u;if(p&&(m=JU(m,`y`,``),qU(m,`g`)===-1&&(m+=`g`),_=YU(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&KU(u,c.lastIndex-1)!==`
66
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),QU&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),XU&&(r=c.lastIndex),i=YB(WU,p?n:c,_),p?i?(i.input=YU(i.input,g),i[0]=YU(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:XU&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),QU&&i&&i.length>1&&YB(UU,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=LU(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var $U=GU;uU({target:`RegExp`,proto:!0,forced:/./.exec!==$U},{exec:$U});var eW=Array.isArray||function(e){return sV(e)==`Array`},tW=function(){},nW=[],rW=_V(`Reflect`,`construct`),iW=/^\s*(?:class|function)\b/,aW=iV(iW.exec),oW=!iW.exec(tW),sW=function(e){if(!mV(e))return!1;try{return rW(tW,nW,e),!0}catch{return!1}},cW=!rW||KB((function(){var e;return sW(sW.call)||!sW(Object)||!sW((function(){e=!0}))||e}))?function(e){if(!mV(e))return!1;switch(gU(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return oW||!!aW(iW,vH(e))}:sW,lW=function(e,t,n){var r=eH(t);r in e?fH.f(e,r,$B(0,n)):e[r]=n},uW=ZV(`species`),dW=function(e){return wV>=51||!KB((function(){var t=[];return(t.constructor={})[uW]=function(){return{foo:1}},t[e](Boolean).foo!==1}))},fW=iV([].slice),pW=dW(`slice`),mW=ZV(`species`),hW=GB.Array,gW=Math.max;function _W(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function vW(e){var t=e.selection;if(t==null)return!1;var n=_W(P.nodes(e,{match:function(e){return G.checkNodeType(e,`table-cell`)}}),1)[0];if(n){var r=_W(n,2)[1],i=P.start(e,r);if(ff.equals(t.anchor,i))return!0}return!1}function yW(e,t){var n,r,i=P.nodes(e,{at:t,match:function(e){return G.getNodeType(e)===`table`}}),a=!1;try{for(var o=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(i),s=o.next();!s.done;s=o.next())s.value,a=!0}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}uU({target:`Array`,proto:!0,forced:!pW},{slice:function(e,t){var n,r,i,a=pV(this),o=GH(a),s=HH(e,o),c=HH(t===void 0?o:t,o);if(eW(a)&&(n=a.constructor,(cW(n)&&(n===hW||eW(n.prototype))||hV(n)&&(n=n[mW])===null)&&(n=void 0),n===hW||n===void 0))return fW(a,s,c);for(r=new(n===void 0?hW:n)(gW(c-s,0)),i=0;s<c;s++,i++)s in a&&lW(r,i,a[s]);return r.length=i,r}});var bW=iV(iV.bind),xW=ZV(`species`),SW=GB.Array,CW=function(e,t){return new(function(e){var t;return eW(e)&&(t=e.constructor,(cW(t)&&(t===SW||eW(t.prototype))||hV(t)&&(t=t[xW])===null)&&(t=void 0)),t===void 0?SW:t}(e))(t===0?0:t)},wW=iV([].push),TW=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=BV(c),h=uV(m),g=function(e,t){return MV(e),t===void 0?e:bW?bW(e,t):function(){return e.apply(t,arguments)}}(l,u),_=GH(h),v=0,y=d||CW,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:wW(b,f)}else switch(e){case 4:return!1;case 7:wW(b,f)}return a?-1:r||i?i:b}},EW={forEach:TW(0),map:TW(1),filter:TW(2),some:TW(3),every:TW(4),find:TW(5),findIndex:TW(6),filterReject:TW(7)},DW=EW.map;uU({target:`Array`,proto:!0,forced:!dW(`map`)},{map:function(e){return DW(this,e,arguments.length>1?arguments[1]:void 0)}});var OW=fU?{}.toString:function(){return`[object `+gU(this)+`]`};function kW(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function AW(e){return kW(e).every((function(e){return!!e.isHeader}))}fU||IH(Object.prototype,`toString`,OW,{unsafe:!0});var jW=FH.PROPER,MW=RegExp.prototype,NW=MW.toString,Dye=iV(SU),Oye=KB((function(){return NW.call({source:`a`,flags:`b`})!=`/a/b`})),kye=jW&&NW.name!=`toString`;(Oye||kye)&&IH(RegExp.prototype,`toString`,(function(){var e=lH(this),t=vU(e.source),n=e.flags;return`/`+t+`/`+vU(n===void 0&&vV(MW,e)&&!(`flags`in MW)?Dye(e):n)}),{unsafe:!0});var PW=ZV(`unscopables`),FW=Array.prototype;FW[PW]??fH.f(FW,PW,{configurable:!0,value:LU(null)});var Aye=EW.find,IW=!0;`find`in[]&&[,].find((function(){IW=!1})),uU({target:`Array`,proto:!0,forced:IW},{find:function(e){return Aye(this,e,arguments.length>1?arguments[1]:void 0)}}),FW[PW].find=!0;var LW=Function.prototype,RW=LW.apply,jye=LW.bind,zW=LW.call,BW=typeof Reflect==`object`&&Reflect.apply||(jye?zW.bind(RW):function(){return zW.apply(RW,arguments)}),Mye=ZV(`species`),VW=RegExp.prototype,HW=function(e,t,n,r){var i=ZV(e),a=!KB((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!KB((function(){var t=!1,n=/a/;return e===`split`&&((n={}).constructor={},n.constructor[Mye]=function(){return n},n.flags=``,n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](``),!t}));if(!a||!o||n){var s=iV(/./[i]),c=t(i,``[e],(function(e,t,n,r,i){var o=iV(e),c=t.exec;return c===$U||c===VW.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));IH(String.prototype,e,c[0]),IH(VW,i,c[1])}r&&pH(VW[i],`sham`,!0)},Nye=ZV(`match`),Pye=GB.TypeError,Fye=ZV(`species`),Iye=iV(``.charAt),UW=iV(``.charCodeAt),Lye=iV(``.slice),Rye=function(e){return function(t,n){var r,i,a=vU(fV(t)),o=zH(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=UW(a,o))<55296||r>56319||o+1===s||(i=UW(a,o+1))<56320||i>57343?e?Iye(a,o):r:e?Lye(a,o,o+2):i-56320+(r-55296<<10)+65536}}(!0),WW=function(e,t,n){return t+(n?Rye(e,t).length:1)},zye=GB.Array,Bye=Math.max,GW=function(e,t,n){for(var r=GH(e),i=HH(t,r),a=HH(n===void 0?r:n,r),o=zye(Bye(a-i,0)),s=0;i<a;i++,s++)lW(o,s,e[i]);return o.length=s,o},Vye=GB.TypeError,KW=function(e,t){var n=e.exec;if(mV(n)){var r=YB(n,e,t);return r!==null&&lH(r),r}if(sV(e)===`RegExp`)return YB($U,e,t);throw Vye(`RegExp#exec called on incompatible receiver`)},qW=EU.UNSUPPORTED_Y,Hye=Math.min,JW=[].push,Uye=iV(/./.exec),YW=iV(JW),XW=iV(``.slice);HW(`split`,(function(e,t,n){var r;return r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r,i,a=vU(fV(this)),o=n===void 0?4294967295:n>>>0;if(o===0)return[];if(e===void 0)return[a];if(!hV(r=e)||!((i=r[Nye])===void 0?sV(r)==`RegExp`:i))return YB(t,a,e,o);for(var s,c,l,u=[],d=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),f=0,p=new RegExp(e.source,d+`g`);(s=YB($U,p,a))&&!((c=p.lastIndex)>f&&(YW(u,XW(a,f,s.index)),s.length>1&&s.index<a.length&&BW(JW,u,GW(s,1)),l=s[0].length,f=c,u.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return f===a.length?!l&&Uye(p,``)||YW(u,``):YW(u,XW(a,f)),u.length>o?GW(u,0,o):u}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:YB(t,this,e,n)}:t,[function(t,n){var i=fV(this),a=t==null?void 0:NV(t,e);return a?YB(a,t,i,n):YB(r,vU(i),t,n)},function(e,i){var a=lH(this),o=vU(e),s=n(r,a,o,i,r!==t);if(s.done)return s.value;var c=function(e,t){var n,r=lH(e).constructor;return r===void 0||(n=lH(r)[Fye])==null?t:function(e){if(cW(e))return e;throw Pye(AV(e)+` is not a constructor`)}(n)}(a,RegExp),l=a.unicode,u=(a.ignoreCase?`i`:``)+(a.multiline?`m`:``)+(a.unicode?`u`:``)+(qW?`g`:`y`),d=new c(qW?`^(?:`+a.source+`)`:a,u),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o.length===0)return KW(d,o)===null?[o]:[];for(var p=0,m=0,h=[];m<o.length;){d.lastIndex=qW?0:m;var g,_=KW(d,qW?XW(o,m):o);if(_===null||(g=Hye(WH(d.lastIndex+(qW?m:0)),o.length))===p)m=WW(o,m,l);else{if(YW(h,XW(o,p,m)),h.length===f)return h;for(var v=1;v<=_.length-1;v++)if(YW(h,_[v]),h.length===f)return h;m=p=g}}return YW(h,XW(o,p)),h}]}),!!KB((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`})),qW);var ZW=`
67
+ \v\f\r \xA0               \u2028\u2029`,QW=iV(``.replace),$W=`[`+ZW+`]`,Wye=RegExp(`^`+$W+$W+`*`),Gye=RegExp($W+$W+`*$`),eG=function(e){return function(t){var n=vU(fV(t));return 1&e&&(n=QW(n,Wye,``)),2&e&&(n=QW(n,Gye,``)),n}},Kye={start:eG(1),end:eG(2),trim:eG(3)},qye=FH.PROPER,Jye=Kye.trim;function tG(e){return e.length?e[0].tagName.toLowerCase():``}uU({target:`String`,proto:!0,forced:function(e){return KB((function(){return!!ZW[e]()||`​…᠎`[e]()!==`​…᠎`||qye&&ZW[e].name!==e}))}(`trim`)},{trim:function(){return Jye(this)}}),uU({global:!0},{globalThis:GB}),Rp&&(B.fn.append=Rp),Tp&&(B.fn.on=Tp),Jp&&(B.fn.focus=Jp),xp&&(B.fn.attr=xp),wp&&(B.fn.val=wp),Fp&&(B.fn.html=Fp),Cp&&(B.fn.dataset=Cp),vp&&(B.fn.addClass=vp),yp&&(B.fn.removeClass=yp),Up&&(B.fn.children=Up),Np&&(B.fn.each=Np),Hp&&(B.fn.find=Hp);var nG=!1,rG=0,iG=0,aG=null,oG=null,sG=B(`body`);function cG(e){nG=!1,oG=null,aG=null,sG.off(`mousemove`,lG),sG.off(`mouseup`,cG)}sG.on(`mousedown`,(function(e){var t=e.target;(t.tagName===`TH`||t.tagName===`TD`)&&t.style.cursor===`col-resize`&&(t.style.cursor=`auto`,e.preventDefault(),nG=!0,rG=e.clientX,iG=t.getBoundingClientRect().width,sG.on(`mousemove`,lG),sG.on(`mouseup`,cG))}));var lG=sm((function(e){if(nG&&oG!=null&&aG!=null){e.preventDefault();var t=e.clientX,n=iG+(t-rG);(n=Math.floor(100*n)/100)<30&&(n=30),z.setNodes(oG,{width:n.toString()},{at:aG})}}),100),Yye={type:`table`,renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(n==null||L.isCollapsed(n))return!0;var r=n.anchor,i=n.focus,a=G.findPath(e,t),o=P.start(e,a),s=P.end(e,a),c=ff.compare(r,s)<=0&&ff.compare(r,o)>=0,l=ff.compare(i,s)<=0&&ff.compare(i,o)>=0;return!!(c&&l&&I.equals(r.path.slice(0,3),i.path.slice(0,3)))}(n,e),i=e.width,a=i===void 0?`auto`:i;return V(`div`,{className:`table-container`,"data-selected":G.isNodeSelected(n,e),on:{mousedown:function(t){if(t.target.tagName===`DIV`&&t.preventDefault(),!n.isDisabled()){var r=G.findPath(n,e),i=P.start(n,r),a=n.selection;(a==null||a.anchor.path[0]!==r[0])&&n.select(i)}}}},V(`table`,{width:a,contentEditable:r},V(`colgroup`,null,kW(e).map((function(e){var t=e.width;return V(`col`,{width:t===void 0?`auto`:t})}))),V(`tbody`,null,t)))}},Xye={type:`table-row`,renderElem:function(e,t,n){return V(`tr`,null,t)}},Zye={type:`table-cell`,renderElem:function(e,t,n){var r=function(e,t){var n=G.getParentNode(e,t);if(n==null)return!1;var r=G.getParentNode(e,n);return r!=null&&kW(r).some((function(e){return e===t}))}(n,e),i=e,a=i.colSpan,o=a===void 0?1:a,s=i.rowSpan,c=s===void 0?1:s,l=i.isHeader;return r?V(l!==void 0&&l?`th`:`td`,{colSpan:o,rowSpan:c,style:{borderRightWidth:`3px`},on:{mousemove:sm((function(t){var r=this.elm;if(r!=null){var i=r.getBoundingClientRect(),a=i.left,o=i.width,s=i.top,c=i.height,l=t.clientX,u=t.clientY;nG||(l>a+o-5&&l<a+o&&u>s&&u<s+c?(r.style.cursor=`col-resize`,oG=n,aG=G.findPath(n,e)):nG||(r.style.cursor=`auto`,oG=null,aG=null))}}),100)}},t):V(`td`,{colSpan:o,rowSpan:c},t)}},Qye={selector:`table`,preParseHtml:function(e){var t=B(e);if(tG(t)!==`table`)return e;var n=t.find(`tbody`);if(n.length===0)return e;var r=t.find(`tr`);return t.append(r),n.remove(),t[0]}},$ye=EW.filter;uU({target:`Array`,proto:!0,forced:!dW(`filter`)},{filter:function(e){return $ye(this,e,arguments.length>1?arguments[1]:void 0)}});var ebe=Math.floor,uG=iV(``.charAt),tbe=iV(``.replace),dG=iV(``.slice),nbe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,rbe=/\$([$&'`]|\d{1,2})/g,ibe=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,c=rbe;return i!==void 0&&(i=BV(i),c=nbe),tbe(a,c,(function(a,c){var l;switch(uG(c,0)){case`$`:return`$`;case`&`:return e;case"`":return dG(t,0,n);case`'`:return dG(t,o);case`<`:l=i[dG(c,1,-1)];break;default:var u=+c;if(u===0)return a;if(u>s){var d=ebe(u/10);return d===0?a:d<=s?r[d-1]===void 0?uG(c,1):r[d-1]+uG(c,1):a}l=r[u-1]}return l===void 0?``:l}))},fG=ZV(`replace`),abe=Math.max,obe=Math.min,sbe=iV([].concat),pG=iV([].push),mG=iV(``.indexOf),hG=iV(``.slice),cbe=`a`.replace(/./,`$0`)===`$0`,gG=!!/./[fG]&&/./[fG](`a`,`$0`)===``;HW(`replace`,(function(e,t,n){var r=gG?`$`:`$0`;return[function(e,n){var r=fV(this),i=e==null?void 0:NV(e,fG);return i?YB(i,e,r,n):YB(t,vU(r),e,n)},function(e,i){var a=lH(this),o=vU(e);if(typeof i==`string`&&mG(i,r)===-1&&mG(i,`$<`)===-1){var s=n(t,a,o,i);if(s.done)return s.value}var c=mV(i);c||(i=vU(i));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var d=[];;){var f=KW(a,o);if(f===null||(pG(d,f),!l))break;vU(f[0])===``&&(a.lastIndex=WW(o,WH(a.lastIndex),u))}for(var p,m=``,h=0,g=0;g<d.length;g++){for(var _=vU((f=d[g])[0]),v=abe(obe(zH(f.index),o.length),0),y=[],b=1;b<f.length;b++)pG(y,(p=f[b])===void 0?p:String(p));var x=f.groups;if(c){var S=sbe([_],y,v,o);x!==void 0&&pG(S,x);var C=vU(BW(i,void 0,S))}else C=ibe(_,o,v,y,x,i);v>=h&&(m+=hG(o,h,v)+C,h=v+_.length)}return m+hG(o,h)}]}),!!KB((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}))||!cbe||gG);var lbe={selector:`td:not([data-w-e-type]),th:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e);(t=t.filter((function(e){return!!R.isText(e)||!!n.isInline(e)}))).length===0&&(t=[{text:r.text().replace(/\s+/gm,` `)}]);var i=parseInt(r.attr(`colSpan`)||`1`),a=parseInt(r.attr(`rowSpan`)||`1`),o=r.attr(`width`)||`auto`;return{type:`table-cell`,isHeader:tG(r)===`th`,colSpan:i,rowSpan:a,width:o,children:t}}},ube={selector:`tr:not([data-w-e-type])`,parseElemHtml:function(e,t,n){return{type:`table-row`,children:t.filter((function(e){return G.getNodeType(e)===`table-cell`}))}}},dbe={selector:`table:not([data-w-e-type])`,parseElemHtml:function(e,t,n){var r=B(e),i=`auto`;return function(e,t){for(var n=``,r=(e.attr(`style`)||``).split(`;`),i=r.length,a=0;a<i;a++){var o=r[a];if(o){var s=o.split(`:`);s[0].trim()===`width`&&(n=s[1].trim())}}return n}(r)===`100%`&&(i=`100%`),r.attr(`width`)===`100%`&&(i=`100%`),{type:`table`,width:i,children:t.filter((function(e){return G.getNodeType(e)===`table-row`}))}}},fbe=function(){function e(){this.title=K(`tableModule.insertTable`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>`,this.tag=`button`,this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||!!G.getSelectedElems(e).some((function(t){var n=G.getNodeType(t);return n===`pre`||n===`table`||n===`list-item`||!!e.isVoid(t)}))},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=B(`<div class="w-e-panel-content-table"></div>`),r=B(`<span>0 &times; 0</span>`),i=B(`<table></table>`),a=0;a<10;a++){for(var o=B(`<tr></tr>`),s=0;s<10;s++){var c=B(`<td></td>`);c.attr(`data-x`,s.toString()),c.attr(`data-y`,a.toString()),o.append(c),c.on(`mouseenter`,(function(e){var t=e.target;if(t!=null){var n=B(t).dataset(),a=n.x,o=n.y;r[0].innerHTML=a+1+` &times; `+(o+1),i.children().each((function(e){B(e).children().each((function(e){var t=B(e),n=t.dataset(),r=n.x,i=n.y;r<=a&&i<=o?t.addClass(`active`):t.removeClass(`active`)}))}))}})),c.on(`click`,(function(n){n.preventDefault();var r=n.target;if(r!=null){var i=B(r).dataset(),a=i.x,o=i.y;t.insertTable(e,o+1,a+1)}}))}i.append(o)}return n.append(i),n.append(r),this.$content=n,n[0]},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),i=parseInt(n,10);if(r&&i&&!(r<=0||i<=0)){G.isSelectedEmptyParagraph(e)&&z.removeNodes(e,{mode:`highest`});var a=function(e,t){for(var n=[],r=0;r<e;r++){for(var i=[],a=0;a<t;a++){var o={type:`table-cell`,children:[{text:``}]};r===0&&(o.isHeader=!0),i.push(o)}n.push({type:`table-row`,children:i})}return{type:`table`,width:`auto`,children:n}}(r,i);z.insertNodes(e,a,{mode:`highest`})}},e}(),pbe=function(){function e(){this.title=K(`tableModule.deleteTable`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return e.selection==null||G.getSelectedNodeByType(e,`table`)==null},e.prototype.exec=function(e,t){this.isDisabled(e)||z.removeNodes(e,{mode:`highest`})},e}(),mbe=function(){function e(){this.title=K(`tableModule.insertRow`),this.iconSvg=`<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=_W(_W(P.nodes(e,{match:function(e){return G.checkNodeType(e,`table-cell`)},universal:!0}),1)[0],2),r=n[0],i=n[1],a=G.getParentNode(e,r)?.children.length||0;if(a!==0){for(var o={type:`table-row`,children:[]},s=0;s<a;s++)o.children.push({type:`table-cell`,children:[{text:``}]});var c=I.parent(i),l=I.next(c);z.insertNodes(e,o,{at:l})}}},e}(),hbe=function(){function e(){this.title=K(`tableModule.deleteRow`),this.iconSvg=`<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table-row`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=_W(_W(P.nodes(e,{match:function(e){return G.checkNodeType(e,`table-row`)},universal:!0}),1)[0],2),r=n[0],i=n[1];(G.getParentNode(e,r)?.children.length||0)<=1?z.removeNodes(e,{mode:`highest`}):z.removeNodes(e,{at:i})}},e}(),_G={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vG=rH(`span`).classList,yG=vG&&vG.constructor&&vG.constructor.prototype,gbe=yG===Object.prototype?void 0:yG,_be=EW.forEach,bG=function(e,t){var n=[].forEach;return!!n&&KB((function(){n.call(null,(function(){throw 1}),1)}))}()?[].forEach:function(e){return _be(this,e,arguments.length>1?arguments[1]:void 0)},xG=function(e){if(e&&e.forEach!==bG)try{pH(e,`forEach`,bG)}catch{e.forEach=bG}};for(var SG in _G)_G[SG]&&xG(GB[SG]&&GB[SG].prototype);xG(gbe);var vbe=function(){function e(){this.title=K(`tableModule.insertCol`),this.iconSvg=`<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=_W(_W(P.nodes(e,{match:function(e){return G.checkNodeType(e,`table-cell`)},universal:!0}),1)[0],2),r=n[0],i=n[1],a=G.getParentNode(e,r);if(a!=null){var o=G.getParentNode(e,a);o!=null&&(o.children||[]).forEach((function(t,n){N.isElement(t)&&(t.children||[]).forEach((function(t){var r=G.findPath(e,t);if(r.length===i.length&&zB(r.slice(-1),i.slice(-1))){var a={type:`table-cell`,children:[{text:``}]};n===0&&AW(o)&&(a.isHeader=!0),z.insertNodes(e,a,{at:r})}}))}))}}},e}(),ybe=function(){function e(){this.title=K(`tableModule.deleteCol`),this.iconSvg=`<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table-cell`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=_W(_W(P.nodes(e,{match:function(e){return G.checkNodeType(e,`table-cell`)},universal:!0}),1)[0],2),r=n[0],i=n[1],a=G.getParentNode(e,r),o=a?.children.length||0;if(!a||o<=1)z.removeNodes(e,{mode:`highest`});else{var s=G.getParentNode(e,a);s!=null&&(s.children||[]).forEach((function(t){N.isElement(t)&&(t.children||[]).forEach((function(t){var n=G.findPath(e,t);n.length===i.length&&zB(n.slice(-1),i.slice(-1))&&z.removeNodes(e,{at:n})}))}))}}},e}(),bbe=function(){function e(){this.title=K(`tableModule.header`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){var t=G.getSelectedNodeByType(e,`table`);return t!=null&&AW(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=G.getSelectedNodeByType(e,`table`);r!=null&&kW(r).forEach((function(t){return z.setNodes(e,{isHeader:n},{at:G.findPath(e,t)})}))}},e}(),xbe=function(){function e(){this.title=K(`tableModule.widthAuto`),this.iconSvg=`<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){var t=G.getSelectedNodeByType(e,`table`);return t!=null&&t.width===`100%`},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||G.getSelectedNodeByType(e,`table`)==null},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n={width:t?`auto`:`100%`};z.setNodes(e,n,{mode:`highest`})}},e}(),Sbe={renderElems:[Yye,Xye,Zye],elemsToHtml:[{type:`table`,elemToHtml:function(e,t){var n=e.width;return`<table style="width: `+(n===void 0?`auto`:n)+`;"><tbody>`+t+`</tbody></table>`}},{type:`table-row`,elemToHtml:function(e,t){return`<tr>`+t+`</tr>`}},{type:`table-cell`,elemToHtml:function(e,t){var n=e,r=n.colSpan,i=r===void 0?1:r,a=n.rowSpan,o=a===void 0?1:a,s=n.isHeader,c=s!==void 0&&s,l=n.width,u=c?`th`:`td`;return`<`+u+` colSpan="`+i+`" rowSpan="`+o+`" width="`+(l===void 0?`auto`:l)+`">`+t+`</`+u+`>`}}],preParseHtml:[Qye],parseElemsHtml:[lbe,ube,dbe],menus:[{key:`insertTable`,factory:function(){return new fbe}},{key:`deleteTable`,factory:function(){return new pbe}},{key:`insertTableRow`,factory:function(){return new mbe}},{key:`deleteTableRow`,factory:function(){return new hbe}},{key:`insertTableCol`,factory:function(){return new vbe}},{key:`deleteTableCol`,factory:function(){return new ybe}},{key:`tableHeader`,factory:function(){return new bbe}},{key:`tableFullWidth`,factory:function(){return new xbe}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,i=e.normalizeNode,a=e.insertData,o=e.handleTab,s=e.selectAll,c=e;return c.insertBreak=function(){G.getSelectedNodeByType(c,`table`)==null?t():c.insertText(`
68
+ `)},c.deleteBackward=function(e){if(!vW(c)){var t=c.selection;if(t){var r=P.before(c,t);if(r){var i=yW(c,r),a=yW(c,t);if(i&&!a)return}}n(e)}},c.handleTab=function(){if(G.getSelectedNodeByType(c,`table`)){var t=P.above(e);G.checkNodeType(t[0],`table-cell`)&&z.select(e,t[1]);var n=P.next(e);if(n)n[0]&&n[0].text&&(n=P.above(e,{at:n[1]})??n),z.select(e,n[1]);else{var r=c.children||[],i=r.length;if(G.checkNodeType(r[i-1],`table`)){var a=G.genEmptyParagraph();z.insertNodes(c,a,{at:[i]}),c.handleTab()}}}else o()},c.deleteForward=function(e){vW(c)||r(e)},c.normalizeNode=function(e){var t=_W(e,2),n=t[0],r=t[1];if(G.getNodeType(n)!==`table`)return i([n,r]);if(G.isLastNode(c,n)){var a=G.genEmptyParagraph();z.insertNodes(c,a,{at:[r[0]+1]})}},c.insertData=function(e){if(G.getSelectedNodeByType(c,`table`)!=null){var t=e.getData(`text/plain`);t===`
69
+ `||/<img[^>]+>/.test(e.getData(`text/html`))?a(e):P.insertText(c,t)}else a(e)},c.selectAll=function(){var e=c.selection;if(e!=null){var t=G.getSelectedNodeByType(c,`table-cell`);if(t!=null){var n=e.anchor,r=e.focus;if(I.equals(n.path.slice(0,3),r.path.slice(0,3)))if(F.string(t).length!==0){var i=G.findPath(c,t),a={anchor:P.start(c,i),focus:P.end(c,i)};c.select(a)}else s();else s()}else s()}else s()},c}};aD(`en`,{videoModule:{delete:`Delete`,uploadVideo:`Upload video`,insertVideo:`Insert video`,videoSrc:`Video source`,videoSrcPlaceHolder:`Video file url, or third-party <iframe>`,videoPoster:`Video poster`,videoPosterPlaceHolder:`Poster image url`,ok:`Ok`,editSize:`Edit size`,width:`Width`,height:`Height`}}),aD(`zh-CN`,{videoModule:{delete:`删除视频`,uploadVideo:`上传视频`,insertVideo:`插入视频`,videoSrc:`视频地址`,videoSrcPlaceHolder:`视频文件 url 或第三方 <iframe>`,videoPoster:`视频封面`,videoPosterPlaceHolder:`封面图片 url`,ok:`确定`,editSize:`修改尺寸`,width:`宽度`,height:`高度`}});var CG=function(){return CG=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},CG.apply(this,arguments)};function wG(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}function TG(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||a[0]!==6&&a[0]!==2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function EG(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function Cbe(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(e),t={},r(`next`),r(`throw`),r(`return`),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}var DG=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function OG(e){var t={exports:{}};return e(t,t.exports),t.exports}var kG,AG,jG=function(e){return e&&e.Math==Math&&e},Y=jG(typeof globalThis==`object`&&globalThis)||jG(typeof window==`object`&&window)||jG(typeof self==`object`&&self)||jG(typeof DG==`object`&&DG)||function(){return this}()||Function(`return this`)(),MG=function(e){try{return!!e()}catch{return!0}},NG=!MG((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),PG=Function.prototype.call,FG=PG.bind?PG.bind(PG):function(){return PG.apply(PG,arguments)},IG={}.propertyIsEnumerable,LG=Object.getOwnPropertyDescriptor,wbe={f:LG&&!IG.call({1:2},1)?function(e){var t=LG(this,e);return!!t&&t.enumerable}:IG},RG=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zG=Function.prototype,BG=zG.bind,VG=zG.call,Tbe=BG&&BG.bind(VG),HG=BG?function(e){return e&&Tbe(VG,e)}:function(e){return e&&function(){return VG.apply(e,arguments)}},Ebe=HG({}.toString),Dbe=HG(``.slice),UG=function(e){return Dbe(Ebe(e),8,-1)},WG=Y.Object,Obe=HG(``.split),GG=MG((function(){return!WG(`z`).propertyIsEnumerable(0)}))?function(e){return UG(e)==`String`?Obe(e,``):WG(e)}:WG,kbe=Y.TypeError,KG=function(e){if(e==null)throw kbe(`Can't call method on `+e);return e},qG=function(e){return GG(KG(e))},JG=function(e){return typeof e==`function`},YG=function(e){return typeof e==`object`?e!==null:JG(e)},Abe=function(e){return JG(e)?e:void 0},XG=function(e,t){return arguments.length<2?Abe(Y[e]):Y[e]&&Y[e][t]},ZG=HG({}.isPrototypeOf),QG=XG(`navigator`,`userAgent`)||``,$G=Y.process,eK=Y.Deno,tK=$G&&$G.versions||eK&&eK.version,nK=tK&&tK.v8;nK&&(AG=(kG=nK.split(`.`))[0]>0&&kG[0]<4?1:+(kG[0]+kG[1])),!AG&&QG&&(!(kG=QG.match(/Edge\/(\d+)/))||kG[1]>=74)&&(kG=QG.match(/Chrome\/(\d+)/))&&(AG=+kG[1]);var rK=AG,iK=!!Object.getOwnPropertySymbols&&!MG((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&rK&&rK<41})),aK=iK&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,jbe=Y.Object,oK=aK?function(e){return typeof e==`symbol`}:function(e){var t=XG(`Symbol`);return JG(t)&&ZG(t.prototype,jbe(e))},Mbe=Y.String,sK=function(e){try{return Mbe(e)}catch{return`Object`}},Nbe=Y.TypeError,cK=function(e){if(JG(e))return e;throw Nbe(sK(e)+` is not a function`)},lK=function(e,t){var n=e[t];return n==null?void 0:cK(n)},Pbe=Y.TypeError,Fbe=Object.defineProperty,uK=function(e,t){try{Fbe(Y,e,{value:t,configurable:!0,writable:!0})}catch{Y[e]=t}return t},dK=Y[`__core-js_shared__`]||uK(`__core-js_shared__`,{}),fK=OG((function(e){(e.exports=function(e,t){return dK[e]||(dK[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),Ibe=Y.Object,pK=function(e){return Ibe(KG(e))},Lbe=HG({}.hasOwnProperty),mK=Object.hasOwn||function(e,t){return Lbe(pK(e),t)},Rbe=0,zbe=Math.random(),Bbe=HG(1 .toString),hK=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+Bbe(++Rbe+zbe,36)},gK=fK(`wks`),_K=Y.Symbol,vK=_K&&_K.for,Vbe=aK?_K:_K&&_K.withoutSetter||hK,yK=function(e){if(!mK(gK,e)||!iK&&typeof gK[e]!=`string`){var t=`Symbol.`+e;iK&&mK(_K,e)?gK[e]=_K[e]:gK[e]=aK&&vK?vK(t):Vbe(t)}return gK[e]},Hbe=Y.TypeError,Ube=yK(`toPrimitive`),bK=function(e){var t=function(e,t){if(!YG(e)||oK(e))return e;var n,r=lK(e,Ube);if(r){if(t===void 0&&(t=`default`),n=FG(r,e,t),!YG(n)||oK(n))return n;throw Hbe(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&JG(n=e.toString)&&!YG(r=FG(n,e))||JG(n=e.valueOf)&&!YG(r=FG(n,e))||t!==`string`&&JG(n=e.toString)&&!YG(r=FG(n,e)))return r;throw Pbe(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return oK(t)?t:t+``},xK=Y.document,Wbe=YG(xK)&&YG(xK.createElement),SK=function(e){return Wbe?xK.createElement(e):{}},CK=!NG&&!MG((function(){return Object.defineProperty(SK(`div`),`a`,{get:function(){return 7}}).a!=7})),wK=Object.getOwnPropertyDescriptor,TK={f:NG?wK:function(e,t){if(e=qG(e),t=bK(t),CK)try{return wK(e,t)}catch{}if(mK(e,t))return RG(!FG(wbe.f,e,t),e[t])}},Gbe=Y.String,Kbe=Y.TypeError,EK=function(e){if(YG(e))return e;throw Kbe(Gbe(e)+` is not an object`)},qbe=Y.TypeError,DK=Object.defineProperty,OK={f:NG?DK:function(e,t,n){if(EK(e),t=bK(t),EK(n),CK)try{return DK(e,t,n)}catch{}if(`get`in n||`set`in n)throw qbe(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},kK=NG?function(e,t,n){return OK.f(e,t,RG(1,n))}:function(e,t,n){return e[t]=n,e},Jbe=HG(Function.toString);JG(dK.inspectSource)||(dK.inspectSource=function(e){return Jbe(e)});var AK,jK,MK,NK=dK.inspectSource,PK=Y.WeakMap,FK=JG(PK)&&/native code/.test(NK(PK)),IK=fK(`keys`),LK=function(e){return IK[e]||(IK[e]=hK(e))},RK={},zK=Y.TypeError,Ybe=Y.WeakMap;if(FK||dK.state){var BK=dK.state||=new Ybe,Xbe=HG(BK.get),VK=HG(BK.has),Zbe=HG(BK.set);AK=function(e,t){if(VK(BK,e))throw new zK(`Object already initialized`);return t.facade=e,Zbe(BK,e,t),t},jK=function(e){return Xbe(BK,e)||{}},MK=function(e){return VK(BK,e)}}else{var HK=LK(`state`);RK[HK]=!0,AK=function(e,t){if(mK(e,HK))throw new zK(`Object already initialized`);return t.facade=e,kK(e,HK,t),t},jK=function(e){return mK(e,HK)?e[HK]:{}},MK=function(e){return mK(e,HK)}}var UK={set:AK,get:jK,has:MK,enforce:function(e){return MK(e)?jK(e):AK(e,{})},getterFor:function(e){return function(t){var n;if(!YG(t)||(n=jK(t)).type!==e)throw zK(`Incompatible receiver, `+e+` required`);return n}}},WK=Function.prototype,Qbe=NG&&Object.getOwnPropertyDescriptor,GK=mK(WK,`name`),KK={EXISTS:GK,PROPER:GK&&function(){}.name===`something`,CONFIGURABLE:GK&&(!NG||NG&&Qbe(WK,`name`).configurable)},qK=OG((function(e){var t=KK.CONFIGURABLE,n=UK.get,r=UK.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;JG(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!mK(a,`name`)||t&&a.name!==d)&&kK(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===Y?l?e[n]=a:uK(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:kK(e,n,a))})(Function.prototype,`toString`,(function(){return JG(this)&&n(this).source||NK(this)}))})),$be=Math.ceil,exe=Math.floor,JK=function(e){var t=+e;return t!=t||t===0?0:(t>0?exe:$be)(t)},txe=Math.max,nxe=Math.min,YK=function(e,t){var n=JK(e);return n<0?txe(n+t,0):nxe(n,t)},rxe=Math.min,XK=function(e){return e>0?rxe(JK(e),9007199254740991):0},ZK=function(e){return XK(e.length)},QK=function(e){return function(t,n,r){var i,a=qG(t),o=ZK(a),s=YK(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},$K={includes:QK(!0),indexOf:QK(!1)},ixe=$K.indexOf,eq=HG([].push),tq=function(e,t){var n,r=qG(e),i=0,a=[];for(n in r)!mK(RK,n)&&mK(r,n)&&eq(a,n);for(;t.length>i;)mK(r,n=t[i++])&&(~ixe(a,n)||eq(a,n));return a},nq=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],axe=nq.concat(`length`,`prototype`),rq={f:Object.getOwnPropertyNames||function(e){return tq(e,axe)}},oxe={f:Object.getOwnPropertySymbols},sxe=HG([].concat),cxe=XG(`Reflect`,`ownKeys`)||function(e){var t=rq.f(EK(e)),n=oxe.f;return n?sxe(t,n(e)):t},lxe=function(e,t){for(var n=cxe(t),r=OK.f,i=TK.f,a=0;a<n.length;a++){var o=n[a];mK(e,o)||r(e,o,i(t,o))}},uxe=/#|\.prototype\./,iq=function(e,t){var n=fxe[dxe(e)];return n==mxe||n!=pxe&&(JG(t)?MG(t):!!t)},dxe=iq.normalize=function(e){return String(e).replace(uxe,`.`).toLowerCase()},fxe=iq.data={},pxe=iq.NATIVE=`N`,mxe=iq.POLYFILL=`P`,aq=iq,hxe=TK.f,oq=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?Y:l?Y[s]||uK(s,{}):(Y[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=hxe(n,r))&&o.value:n[r],!aq(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;lxe(a,i)}(e.sham||i&&i.sham)&&kK(a,`sham`,!0),qK(n,r,a,e)}},sq={};sq[yK(`toStringTag`)]=`z`;var cq=String(sq)===`[object z]`,gxe=yK(`toStringTag`),_xe=Y.Object,vxe=UG(function(){return arguments}())==`Arguments`,lq=cq?UG:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=_xe(e),gxe))==`string`?n:vxe?UG(t):(r=UG(t))==`Object`&&JG(t.callee)?`Arguments`:r},yxe=Y.String,uq=function(e){if(lq(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return yxe(e)},dq=`
70
+ \v\f\r \xA0               \u2028\u2029`,fq=HG(``.replace),pq=`[`+dq+`]`,bxe=RegExp(`^`+pq+pq+`*`),xxe=RegExp(pq+pq+`*$`),mq=function(e){return function(t){var n=uq(KG(t));return 1&e&&(n=fq(n,bxe,``)),2&e&&(n=fq(n,xxe,``)),n}},Sxe={start:mq(1),end:mq(2),trim:mq(3)},Cxe=KK.PROPER,wxe=Sxe.trim;function hq(e){return e.length?e[0].tagName.toLowerCase():``}function gq(e,t,n){t===void 0&&(t=`auto`),n===void 0&&(n=`auto`);var r=B(e);return r.attr(`width`,t),r.attr(`height`,n),r[0].outerHTML}oq({target:`String`,proto:!0,forced:MG((function(){return!!dq.trim()||Cxe&&dq.trim.name!==`trim`}))},{trim:function(){return wxe(this)}}),oq({global:!0},{globalThis:Y}),Rp&&(B.fn.append=Rp),Tp&&(B.fn.on=Tp),Jp&&(B.fn.focus=Jp),xp&&(B.fn.attr=xp),wp&&(B.fn.val=wp),Fp&&(B.fn.html=Fp),Bp&&(B.fn.parent=Bp),bp&&(B.fn.hasClass=bp),Gp&&(B.fn.empty=Gp);var _q,Txe={type:`video`,renderElem:function(e,t,n){var r,i=e,a=i.src,o=a===void 0?``:a,s=i.poster,c=s===void 0?``:s,l=i.width,u=l===void 0?`auto`:l,d=i.height,f=d===void 0?`auto`:d,p=G.isNodeSelected(n,e);if(o.trim().indexOf(`<iframe `)===0)r=V(`div`,{className:`w-e-textarea-video-container`,"data-selected":p?`true`:``,innerHTML:gq(o,u,f)});else{var m=V(`video`,{poster:c,controls:!0},V(`source`,{src:o,type:`video/mp4`}),`Sorry, your browser doesn't support embedded videos.
71
+ 抱歉,浏览器不支持 video 视频`);u!==`auto`&&(m.data.width=u),f!==`auto`&&(m.data.height=f),r=V(`div`,{className:`w-e-textarea-video-container`,"data-selected":p?`true`:``},m)}return gm(`div`,{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},r)}},Exe={type:`video`,elemToHtml:function(e,t){var n=e,r=n.src,i=r===void 0?``:r,a=n.poster,o=a===void 0?``:a,s=n.width,c=s===void 0?`auto`:s,l=n.height,u=l===void 0?`auto`:l,d=`<div data-w-e-type="video" data-w-e-is-void>
72
+ `;return i.trim().indexOf(`<iframe `)===0?d+=gq(i,c,u):d+=`<video poster="`+o+`" controls="true" width="`+c+`" height="`+u+`"><source src="`+i+`" type="video/mp4"/></video>`,d+`
73
+ </div>`}},Dxe=Object.keys||function(e){return tq(e,nq)},Oxe=NG?Object.defineProperties:function(e,t){EK(e);for(var n,r=qG(t),i=Dxe(t),a=i.length,o=0;a>o;)OK.f(e,n=i[o++],r[n]);return e},vq=XG(`document`,`documentElement`),yq=LK(`IE_PROTO`),bq=function(){},xq=function(e){return`<script>`+e+`<\/script>`},Sq=function(e){e.write(xq(``)),e.close();var t=e.parentWindow.Object;return e=null,t},Cq=function(){try{_q=new ActiveXObject(`htmlfile`)}catch{}var e,t;Cq=typeof document<`u`?document.domain&&_q?Sq(_q):((t=SK(`iframe`)).style.display=`none`,vq.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(xq(`document.F=Object`)),e.close(),e.F):Sq(_q);for(var n=nq.length;n--;)delete Cq.prototype[nq[n]];return Cq()};RK[yq]=!0;var wq=Object.create||function(e,t){var n;return e===null?n=Cq():(bq.prototype=EK(e),n=new bq,bq.prototype=null,n[yq]=e),t===void 0?n:Oxe(n,t)},Tq=yK(`unscopables`),Eq=Array.prototype;Eq[Tq]??OK.f(Eq,Tq,{configurable:!0,value:wq(null)});var Dq=function(e){Eq[Tq][e]=!0},kxe=$K.includes;oq({target:`Array`,proto:!0},{includes:function(e){return kxe(this,e,arguments.length>1?arguments[1]:void 0)}}),Dq(`includes`);var Axe={selector:`iframe,video,p`,preParseHtml:function(e){var t=B(e),n=t;if(hq(t)===`p`){var r=t.children();if(r.length===1){var i=r[0],a=i.tagName.toLowerCase();[`iframe`,`video`].includes(a)&&(n=B(i))}}var o=hq(n);if(o!==`iframe`&&o!==`video`||n.parent().attr(`data-w-e-type`)===`video`)return n[0];var s=B(`<div data-w-e-type="video" data-w-e-is-void></div>`);return s.append(n),s[0]}},Oq=HG(HG.bind),kq=function(e,t){return cK(e),t===void 0?e:Oq?Oq(e,t):function(){return e.apply(t,arguments)}},Aq=Array.isArray||function(e){return UG(e)==`Array`},jq=function(){},jxe=[],Mq=XG(`Reflect`,`construct`),Nq=/^\s*(?:class|function)\b/,Mxe=HG(Nq.exec),Nxe=!Nq.exec(jq),Pq=function(e){if(!JG(e))return!1;try{return Mq(jq,jxe,e),!0}catch{return!1}},Fq=!Mq||MG((function(){var e;return Pq(Pq.call)||!Pq(Object)||!Pq((function(){e=!0}))||e}))?function(e){if(!JG(e))return!1;switch(lq(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return Nxe||!!Mxe(Nq,NK(e))}:Pq,Pxe=yK(`species`),Iq=Y.Array,Fxe=function(e,t){return new(function(e){var t;return Aq(e)&&(t=e.constructor,(Fq(t)&&(t===Iq||Aq(t.prototype))||YG(t)&&(t=t[Pxe])===null)&&(t=void 0)),t===void 0?Iq:t}(e))(t===0?0:t)},Lq=HG([].push),Rq=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=pK(c),h=GG(m),g=kq(l,u),_=ZK(h),v=0,y=d||Fxe,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:Lq(b,f)}else switch(e){case 4:return!1;case 7:Lq(b,f)}return a?-1:r||i?i:b}},zq={forEach:Rq(0),map:Rq(1),filter:Rq(2),some:Rq(3),every:Rq(4),find:Rq(5),findIndex:Rq(6),filterReject:Rq(7)},Ixe=zq.find,Bq=!0;`find`in[]&&[,].find((function(){Bq=!1})),oq({target:`Array`,proto:!0,forced:Bq},{find:function(e){return Ixe(this,e,arguments.length>1?arguments[1]:void 0)}}),Dq(`find`);var Lxe=cq?{}.toString:function(){return`[object `+lq(this)+`]`};function Vq(e,t,n,r){return t===void 0&&(t=``),n===void 0&&(n=`auto`),r===void 0&&(r=`auto`),{type:`video`,src:e,poster:t,width:n,height:r,children:[{text:``}]}}cq||qK(Object.prototype,`toString`,Lxe,{unsafe:!0});var Hq,Uq,Rxe={selector:`div[data-w-e-type="video"]`,parseElemHtml:function(e,t,n){var r=B(e),i=``,a=``,o=`auto`,s=`auto`,c=r.find(`iframe`);if(c.length>0)return o=c.attr(`width`)||`auto`,s=c.attr(`height`)||`auto`,Vq(i=c[0].outerHTML,a,o,s);var l=r.find(`video`);return(i=l.attr(`src`)||``)||l.length>0&&(i=l.find(`source`).attr(`src`)||``),o=l.attr(`width`)||`auto`,s=l.attr(`height`)||`auto`,Vq(i,a=l.attr(`poster`)||``,o,s)}},Wq=function(){var e=EK(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},Gq=Y.RegExp,Kq=MG((function(){var e=Gq(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),zxe=Kq||MG((function(){return!Gq(`a`,`y`).sticky})),Bxe={BROKEN_CARET:Kq||MG((function(){var e=Gq(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:zxe,UNSUPPORTED_Y:Kq},Vxe=Y.RegExp,Hxe=MG((function(){var e=Vxe(`.`,`s`);return!(e.dotAll&&e.exec(`
74
+ `)&&e.flags===`s`)})),Uxe=Y.RegExp,Wxe=MG((function(){var e=Uxe(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),Gxe=UK.get,Kxe=fK(`native-string-replace`,String.prototype.replace),qq=RegExp.prototype.exec,Jq=qq,qxe=HG(``.charAt),Jxe=HG(``.indexOf),Yxe=HG(``.replace),Yq=HG(``.slice),Xq=(Uq=/b*/g,FG(qq,Hq=/a/,`a`),FG(qq,Uq,`a`),Hq.lastIndex!==0||Uq.lastIndex!==0),Zq=Bxe.BROKEN_CARET,Qq=/()??/.exec(``)[1]!==void 0;(Xq||Qq||Zq||Hxe||Wxe)&&(Jq=function(e){var t,n,r,i,a,o,s,c=this,l=Gxe(c),u=uq(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=FG(Jq,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=Zq&&c.sticky,m=FG(Wq,c),h=c.source,g=0,_=u;if(p&&(m=Yxe(m,`y`,``),Jxe(m,`g`)===-1&&(m+=`g`),_=Yq(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&qxe(u,c.lastIndex-1)!==`
75
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),Qq&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),Xq&&(r=c.lastIndex),i=FG(qq,p?n:c,_),p?i?(i.input=Yq(i.input,g),i[0]=Yq(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:Xq&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),Qq&&i&&i.length>1&&FG(Kxe,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=wq(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var $q=Jq;oq({target:`RegExp`,proto:!0,forced:/./.exec!==$q},{exec:$q});var eJ=Function.prototype,tJ=eJ.apply,Xxe=eJ.bind,nJ=eJ.call,rJ=typeof Reflect==`object`&&Reflect.apply||(Xxe?nJ.bind(tJ):function(){return nJ.apply(tJ,arguments)}),iJ=(yK(`species`),RegExp.prototype),Zxe=HG(``.charAt),aJ=HG(``.charCodeAt),Qxe=HG(``.slice),oJ=function(e){return function(t,n){var r,i,a=uq(KG(t)),o=JK(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=aJ(a,o))<55296||r>56319||o+1===s||(i=aJ(a,o+1))<56320||i>57343?e?Zxe(a,o):r:e?Qxe(a,o,o+2):i-56320+(r-55296<<10)+65536}},sJ={codeAt:oJ(!1),charAt:oJ(!0)},$xe=sJ.charAt,eSe=function(e,t,n){return t+(n?$xe(e,t).length:1)},tSe=Math.floor,cJ=HG(``.charAt),nSe=HG(``.replace),lJ=HG(``.slice),rSe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,iSe=/\$([$&'`]|\d{1,2})/g,aSe=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,c=iSe;return i!==void 0&&(i=pK(i),c=rSe),nSe(a,c,(function(a,c){var l;switch(cJ(c,0)){case`$`:return`$`;case`&`:return e;case"`":return lJ(t,0,n);case`'`:return lJ(t,o);case`<`:l=i[lJ(c,1,-1)];break;default:var u=+c;if(u===0)return a;if(u>s){var d=tSe(u/10);return d===0?a:d<=s?r[d-1]===void 0?cJ(c,1):r[d-1]+cJ(c,1):a}l=r[u-1]}return l===void 0?``:l}))},oSe=Y.TypeError,sSe=function(e,t){var n=e.exec;if(JG(n)){var r=FG(n,e,t);return r!==null&&EK(r),r}if(UG(e)===`RegExp`)return FG($q,e,t);throw oSe(`RegExp#exec called on incompatible receiver`)},uJ=yK(`replace`),cSe=Math.max,lSe=Math.min,uSe=HG([].concat),dJ=HG([].push),fJ=HG(``.indexOf),pJ=HG(``.slice),dSe=`a`.replace(/./,`$0`)===`$0`,mJ=!!/./[uJ]&&/./[uJ](`a`,`$0`)===``;function hJ(e){return e===void 0&&(e=`r`),e+`-`+rm()}(function(e,t,n,r){var i=yK(e),a=!MG((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!MG((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[i](``),!e}));if(!a||!o||n){var s=HG(/./[i]),c=function(e,t,n){var r=mJ?`$`:`$0`;return[function(e,n){var r=KG(this),i=e==null?void 0:lK(e,uJ);return i?FG(i,e,r,n):FG(t,uq(r),e,n)},function(e,i){var a=EK(this),o=uq(e);if(typeof i==`string`&&fJ(i,r)===-1&&fJ(i,`$<`)===-1){var s=n(t,a,o,i);if(s.done)return s.value}var c=JG(i);c||(i=uq(i));var l=a.global;if(l){var u=a.unicode;a.lastIndex=0}for(var d=[];;){var f=sSe(a,o);if(f===null||(dJ(d,f),!l))break;uq(f[0])===``&&(a.lastIndex=eSe(o,XK(a.lastIndex),u))}for(var p,m=``,h=0,g=0;g<d.length;g++){for(var _=uq((f=d[g])[0]),v=cSe(lSe(JK(f.index),o.length),0),y=[],b=1;b<f.length;b++)dJ(y,(p=f[b])===void 0?p:String(p));var x=f.groups;if(c){var S=uSe([_],y,v,o);x!==void 0&&dJ(S,x);var C=uq(rJ(i,void 0,S))}else C=aSe(_,o,v,y,x,i);v>=h&&(m+=pJ(o,h,v)+C,h=v+_.length)}return m+pJ(o,h)}]}(0,``[e],(function(e,t,n,r,i){var o=HG(e),c=t.exec;return c===$q||c===iJ.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));qK(String.prototype,e,c[0]),qK(iJ,i,c[1])}})(`replace`,0,!!MG((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`}))||!dSe||mJ);var gJ=Y.Promise,_J=function(e,t,n){for(var r in t)qK(e,r,t[r],n);return e},fSe=Y.String,pSe=Y.TypeError,vJ=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=HG(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return EK(n),function(e){if(typeof e==`object`||JG(e))return e;throw pSe(`Can't set `+fSe(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),mSe=OK.f,yJ=yK(`toStringTag`),bJ=function(e,t,n){e&&!mK(e=n?e:e.prototype,yJ)&&mSe(e,yJ,{configurable:!0,value:t})},xJ=yK(`species`),hSe=Y.TypeError,SJ=function(e,t){if(ZG(t,e))return e;throw hSe(`Incorrect invocation`)},CJ={},gSe=yK(`iterator`),_Se=Array.prototype,vSe=yK(`iterator`),wJ=function(e){if(e!=null)return lK(e,vSe)||lK(e,`@@iterator`)||CJ[lq(e)]},ySe=Y.TypeError,TJ=function(e,t,n){var r,i;EK(e);try{if(!(r=lK(e,`return`))){if(t===`throw`)throw n;return n}r=FG(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return EK(r),n},bSe=Y.TypeError,EJ=function(e,t){this.stopped=e,this.result=t},DJ=EJ.prototype,OJ=function(e,t,n){var r,i,a,o,s,c,l,u,d=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),h=kq(t,d),g=function(e){return r&&TJ(r,`normal`,e),new EJ(!0,e)},_=function(e){return f?(EK(e),m?h(e[0],e[1],g):h(e[0],e[1])):m?h(e,g):h(e)};if(p)r=e;else{if(!(i=wJ(e)))throw bSe(sK(e)+` is not iterable`);if((u=i)!==void 0&&(CJ.Array===u||_Se[gSe]===u)){for(a=0,o=ZK(e);o>a;a++)if((s=_(e[a]))&&ZG(DJ,s))return s;return new EJ(!1)}r=function(e,t){var n=arguments.length<2?wJ(e):t;if(cK(n))return EK(FG(n,e));throw ySe(sK(e)+` is not iterable`)}(e,i)}for(c=r.next;!(l=FG(c,r)).done;){try{s=_(l.value)}catch(e){TJ(r,`throw`,e)}if(typeof s==`object`&&s&&ZG(DJ,s))return s}return new EJ(!1)},kJ=yK(`iterator`),AJ=!1;try{var xSe=0,jJ={next:function(){return{done:!!xSe++}},return:function(){AJ=!0}};jJ[kJ]=function(){return this},Array.from(jJ,(function(){throw 2}))}catch{}var MJ,NJ,PJ,FJ,IJ=function(e,t){if(!t&&!AJ)return!1;var n=!1;try{var r={};r[kJ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},SSe=Y.TypeError,CSe=yK(`species`),LJ=HG([].slice),RJ=/(?:ipad|iphone|ipod).*applewebkit/i.test(QG),zJ=UG(Y.process)==`process`,BJ=Y.setImmediate,VJ=Y.clearImmediate,wSe=Y.process,HJ=Y.Dispatch,TSe=Y.Function,UJ=Y.MessageChannel,ESe=Y.String,WJ=0,GJ={};try{MJ=Y.location}catch{}var KJ=function(e){if(mK(GJ,e)){var t=GJ[e];delete GJ[e],t()}},qJ=function(e){return function(){KJ(e)}},JJ=function(e){KJ(e.data)},YJ=function(e){Y.postMessage(ESe(e),MJ.protocol+`//`+MJ.host)};BJ&&VJ||(BJ=function(e){var t=LJ(arguments,1);return GJ[++WJ]=function(){rJ(JG(e)?e:TSe(e),void 0,t)},NJ(WJ),WJ},VJ=function(e){delete GJ[e]},zJ?NJ=function(e){wSe.nextTick(qJ(e))}:HJ&&HJ.now?NJ=function(e){HJ.now(qJ(e))}:UJ&&!RJ?(FJ=(PJ=new UJ).port2,PJ.port1.onmessage=JJ,NJ=kq(FJ.postMessage,FJ)):Y.addEventListener&&JG(Y.postMessage)&&!Y.importScripts&&MJ&&MJ.protocol!==`file:`&&!MG(YJ)?(NJ=YJ,Y.addEventListener(`message`,JJ,!1)):NJ=`onreadystatechange`in SK(`script`)?function(e){vq.appendChild(SK(`script`)).onreadystatechange=function(){vq.removeChild(this),KJ(e)}}:function(e){setTimeout(qJ(e),0)});var XJ,ZJ,QJ,$J,eY,tY,nY,rY,iY={set:BJ,clear:VJ},DSe=/ipad|iphone|ipod/i.test(QG)&&Y.Pebble!==void 0,OSe=/web0s(?!.*chrome)/i.test(QG),kSe=TK.f,aY=iY.set,oY=Y.MutationObserver||Y.WebKitMutationObserver,sY=Y.document,cY=Y.process,lY=Y.Promise,uY=kSe(Y,`queueMicrotask`),dY=uY&&uY.value;dY||(XJ=function(){var e,t;for(zJ&&(e=cY.domain)&&e.exit();ZJ;){t=ZJ.fn,ZJ=ZJ.next;try{t()}catch(e){throw ZJ?$J():QJ=void 0,e}}QJ=void 0,e&&e.enter()},RJ||zJ||OSe||!oY||!sY?!DSe&&lY&&lY.resolve?((nY=lY.resolve(void 0)).constructor=lY,rY=kq(nY.then,nY),$J=function(){rY(XJ)}):zJ?$J=function(){cY.nextTick(XJ)}:(aY=kq(aY,Y),$J=function(){aY(XJ)}):(eY=!0,tY=sY.createTextNode(``),new oY(XJ).observe(tY,{characterData:!0}),$J=function(){tY.data=eY=!eY}));var fY,pY,mY,hY,gY=dY||function(e){var t={fn:e,next:void 0};QJ&&(QJ.next=t),ZJ||(ZJ=t,$J()),QJ=t},ASe=function(e){var t,n;this.promise=new e((function(e,r){if(t!==void 0||n!==void 0)throw TypeError(`Bad Promise constructor`);t=e,n=r})),this.resolve=cK(t),this.reject=cK(n)},_Y={f:function(e){return new ASe(e)}},vY=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},jSe=typeof window==`object`,yY=iY.set,MSe=yK(`species`),bY=`Promise`,xY=UK.getterFor(bY),NSe=UK.set,PSe=UK.getterFor(bY),SY=gJ&&gJ.prototype,CY=gJ,wY=SY,TY=Y.TypeError,EY=Y.document,DY=Y.process,OY=_Y.f,FSe=OY,ISe=!!(EY&&EY.createEvent&&Y.dispatchEvent),kY=JG(Y.PromiseRejectionEvent),AY=!1,jY=aq(bY,(function(){var e=NK(CY),t=e!==String(CY);if(!t&&rK===66)return!0;if(rK>=51&&/native code/.test(e))return!1;var n=new CY((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[MSe]=r,!(AY=n.then((function(){}))instanceof r)||!t&&jSe&&!kY})),LSe=jY||!IJ((function(e){CY.all(e).catch((function(){}))})),MY=function(e){var t;return!(!YG(e)||!JG(t=e.then))&&t},NY=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;gY((function(){for(var r=e.value,i=e.state==1,a=0;n.length>a;){var o,s,c,l=n[a++],u=i?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{u?(i||(e.rejection===2&&zSe(e),e.rejection=1),!0===u?o=r:(p&&p.enter(),o=u(r),p&&(p.exit(),c=!0)),o===l.promise?f(TY(`Promise-chain cycle`)):(s=MY(o))?FG(s,o,d,f):d(o)):f(r)}catch(e){p&&!c&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&RSe(e)}))}},PY=function(e,t,n){var r,i;ISe?((r=EY.createEvent(`Event`)).promise=t,r.reason=n,r.initEvent(e,!1,!0),Y.dispatchEvent(r)):r={promise:t,reason:n},!kY&&(i=Y[`on`+e])?i(r):e===`unhandledrejection`&&function(e,t){var n=Y.console;n&&n.error&&(arguments.length==1?n.error(e):n.error(e,t))}(`Unhandled promise rejection`,n)},RSe=function(e){FG(yY,Y,(function(){var t,n=e.facade,r=e.value;if(FY(e)&&(t=vY((function(){zJ?DY.emit(`unhandledRejection`,r,n):PY(`unhandledrejection`,n,r)})),e.rejection=zJ||FY(e)?2:1,t.error))throw t.value}))},FY=function(e){return e.rejection!==1&&!e.parent},zSe=function(e){FG(yY,Y,(function(){var t=e.facade;zJ?DY.emit(`rejectionHandled`,t):PY(`rejectionhandled`,t,e.value)}))},IY=function(e,t,n){return function(r){e(t,r,n)}},LY=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,NY(e,!0))},RY=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw TY(`Promise can't be resolved itself`);var r=MY(t);r?gY((function(){var n={done:!1};try{FG(r,t,IY(RY,n,e),IY(LY,n,e))}catch(t){LY(n,t,e)}})):(e.value=t,e.state=1,NY(e,!1))}catch(t){LY({done:!1},t,e)}}};if(jY&&(wY=(CY=function(e){SJ(this,wY),cK(e),FG(fY,this);var t=xY(this);try{e(IY(RY,t),IY(LY,t))}catch(e){LY(t,e)}}).prototype,(fY=function(e){NSe(this,{type:bY,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_J(wY,{then:function(e,t){var n=PSe(this),r=n.reactions,i=OY(function(e,t){var n,r=EK(e).constructor;return r===void 0||(n=EK(r)[CSe])==null?t:function(e){if(Fq(e))return e;throw SSe(sK(e)+` is not a constructor`)}(n)}(this,CY));return i.ok=!JG(e)||e,i.fail=JG(t)&&t,i.domain=zJ?DY.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&NY(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),pY=function(){var e=new fY,t=xY(e);this.promise=e,this.resolve=IY(RY,t),this.reject=IY(LY,t)},_Y.f=OY=function(e){return e===CY||e===mY?new pY(e):FSe(e)},JG(gJ)&&SY!==Object.prototype)){hY=SY.then,AY||(qK(SY,`then`,(function(e,t){var n=this;return new CY((function(e,t){FG(hY,n,e,t)})).then(e,t)}),{unsafe:!0}),qK(SY,`catch`,wY.catch,{unsafe:!0}));try{delete SY.constructor}catch{}vJ&&vJ(SY,wY)}function zY(e,t,n){return n===void 0&&(n=``),wG(this,void 0,void 0,(function(){var r,i,a,o,s,c,l;return TG(this,(function(u){switch(u.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig(`insertVideo`),i=r.onInsertedVideo,a=r.checkVideo,o=r.parseVideoSrc,[4,a(t,n)]):[2];case 1:return typeof(s=u.sent())==`string`?(e.alert(s,`error`),[2]):s==null?[2]:[4,o(t)];case 2:return(c=u.sent()).trim().indexOf(`<iframe `)!==0&&(c=c.replace(/</g,`&lt;`).replace(/>/g,`&gt;`)),l={type:`video`,src:c,poster:n,children:[{text:``}]},Promise.resolve().then((function(){z.insertNodes(e,l)})),i(l),[2]}}))}))}function BY(){return hJ(`w-e-insert-video`)}oq({global:!0,wrap:!0,forced:jY},{Promise:CY}),bJ(CY,bY,!1),function(e){var t=XG(`Promise`),n=OK.f;NG&&t&&!t[xJ]&&n(t,xJ,{configurable:!0,get:function(){return this}})}(),mY=XG(bY),oq({target:bY,stat:!0,forced:jY},{reject:function(e){var t=OY(this);return FG(t.reject,void 0,e),t.promise}}),oq({target:bY,stat:!0,forced:jY},{resolve:function(e){return function(e,t){if(EK(e),YG(t)&&t.constructor===e)return t;var n=_Y.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),oq({target:bY,stat:!0,forced:LSe},{all:function(e){var t=this,n=OY(t),r=n.resolve,i=n.reject,a=vY((function(){var n=cK(t.resolve),a=[],o=0,s=1;OJ(e,(function(e){var c=o++,l=!1;s++,FG(n,t,e).then((function(e){l||(l=!0,a[c]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=OY(t),r=n.reject,i=vY((function(){var i=cK(t.resolve);OJ(e,(function(e){FG(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var VY=function(){function e(){this.title=K(`videoModule.insertVideo`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>`,this.tag=`button`,this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=BY(),this.posterInputId=BY(),this.buttonId=BY()}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||!!G.getSelectedElems(e).some((function(t){var n=G.getNodeType(t);return n===`pre`||n===`list-item`||!!e.isVoid(t)}))},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,i=n.posterInputId,a=n.buttonId,o=EG(dE(K(`videoModule.videoSrc`),r,K(`videoModule.videoSrcPlaceHolder`)),2),s=o[0],c=o[1],l=EG(dE(K(`videoModule.videoPoster`),i,K(`videoModule.videoPosterPlaceHolder`)),2),u=l[0],d=l[1],f=B(c),p=B(d),m=EG(fE(a,K(`videoModule.ok`)),1)[0];if(this.$content==null){var h=B(`<div></div>`);h.on(`click`,`#`+a,(function(n){return wG(t,void 0,void 0,(function(){var t,a;return TG(this,(function(o){switch(o.label){case 0:return n.preventDefault(),t=h.find(`#`+r).val().trim(),a=h.find(`#`+i).val().trim(),[4,zY(e,t,a)];case 1:return o.sent(),e.hidePanelOrModal(),[2]}}))}))})),this.$content=h}var g=this.$content;return g.empty(),g.append(s),g.append(u),g.append(m),f.val(``),p.val(``),setTimeout((function(){f.focus()})),g[0]},e}(),BSe=HG([].join),VSe=GG!=Object,HSe=function(e,t){var n=[].join;return!!n&&MG((function(){n.call(null,`,`,1)}))}();oq({target:`Array`,proto:!0,forced:VSe||!HSe},{join:function(e){return BSe(qG(this),e===void 0?`,`:e)}});var HY,UY,WY,USe=!MG((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),GY=LK(`IE_PROTO`),KY=Y.Object,WSe=KY.prototype,qY=USe?KY.getPrototypeOf:function(e){var t=pK(e);if(mK(t,GY))return t[GY];var n=t.constructor;return JG(n)&&t instanceof n?n.prototype:t instanceof KY?WSe:null},JY=yK(`iterator`),YY=!1;[].keys&&(`next`in(WY=[].keys())?(UY=qY(qY(WY)))!==Object.prototype&&(HY=UY):YY=!0),(HY==null||MG((function(){var e={};return HY[JY].call(e)!==e})))&&(HY={}),JG(HY[JY])||qK(HY,JY,(function(){return this}));var XY={IteratorPrototype:HY,BUGGY_SAFARI_ITERATORS:YY},GSe=XY.IteratorPrototype,KSe=function(){return this},qSe=KK.PROPER,JSe=KK.CONFIGURABLE,ZY=XY.IteratorPrototype,QY=XY.BUGGY_SAFARI_ITERATORS,$Y=yK(`iterator`),YSe=function(){return this},eX=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=wq(GSe,{next:RG(1,n)}),bJ(e,i,!1),CJ[i]=KSe})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!QY&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[$Y]||p[`@@iterator`]||i&&p[i],h=!QY&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=qY(g.call(new e)))!==Object.prototype&&s.next&&(qY(s)!==ZY&&(vJ?vJ(s,ZY):JG(s[$Y])||qK(s,$Y,YSe)),bJ(s,d,!0)),qSe&&i==`values`&&m&&m.name!==`values`&&(JSe?kK(p,`name`,`values`):(f=!0,h=function(){return FG(m,this)})),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(QY||f||!(l in p))&&qK(p,l,c[l]);else oq({target:t,proto:!0,forced:QY||f},c);return p[$Y]!==h&&qK(p,$Y,h,{name:i}),CJ[t]=h,c},XSe=UK.set,ZSe=UK.getterFor(`Array Iterator`),tX=eX(Array,`Array`,(function(e,t){XSe(this,{type:`Array Iterator`,target:qG(e),index:0,kind:t})}),(function(){var e=ZSe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`);CJ.Arguments=CJ.Array,Dq(`keys`),Dq(`values`),Dq(`entries`);var QSe=sJ.charAt,$Se=UK.set,eCe=UK.getterFor(`String Iterator`);eX(String,`String`,(function(e){$Se(this,{type:`String Iterator`,string:uq(e),index:0})}),(function(){var e,t=eCe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=QSe(n,r),t.index+=e.length,{value:e,done:!1})}));var nX=function(e,t,n){var r=bK(t);r in e?OK.f(e,r,RG(0,n)):e[r]=n},tCe=Y.Array,nCe=Math.max,rX=rq.f,iX=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],rCe={f:function(e){return iX&&UG(e)==`Window`?function(e){try{return rX(e)}catch{return function(e,t,n){for(var r=ZK(e),i=YK(void 0,r),a=YK(r,r),o=tCe(nCe(a-i,0)),s=0;i<a;i++,s++)nX(o,s,e[i]);return o.length=s,o}(iX)}}(e):rX(qG(e))}},aX=MG((function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,`a`,{value:8})}})),oX=Object.isExtensible,sX=MG((function(){oX(1)}))||aX?function(e){return!!YG(e)&&(!aX||UG(e)!=`ArrayBuffer`)&&(!oX||oX(e))}:oX,iCe=!MG((function(){return Object.isExtensible(Object.preventExtensions({}))})),cX=OG((function(e){var t=OK.f,n=!1,r=hK(`meta`),i=0,a=function(e){t(e,r,{value:{objectID:`O`+ i++,weakData:{}}})},o=e.exports={enable:function(){o.enable=function(){},n=!0;var e=rq.f,t=HG([].splice),i={};i[r]=1,e(i).length&&(rq.f=function(n){for(var i=e(n),a=0,o=i.length;a<o;a++)if(i[a]===r){t(i,a,1);break}return i},oq({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:rCe.f}))},fastKey:function(e,t){if(!YG(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!mK(e,r)){if(!sX(e))return`F`;if(!t)return`E`;a(e)}return e[r].objectID},getWeakData:function(e,t){if(!mK(e,r)){if(!sX(e))return!0;if(!t)return!1;a(e)}return e[r].weakData},onFreeze:function(e){return iCe&&n&&sX(e)&&!mK(e,r)&&a(e),e}};RK[r]=!0})),lX=cX.getWeakData,aCe=UK.set,oCe=UK.getterFor,sCe=zq.find,cCe=zq.findIndex,lCe=HG([].splice),uCe=0,uX=function(e){return e.frozen||=new dX},dX=function(){this.entries=[]},fX=function(e,t){return sCe(e.entries,(function(e){return e[0]===t}))};dX.prototype={get:function(e){var t=fX(this,e);if(t)return t[1]},has:function(e){return!!fX(this,e)},set:function(e,t){var n=fX(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=cCe(this.entries,(function(t){return t[0]===e}));return~t&&lCe(this.entries,t,1),!!~t}};var pX,mX={getConstructor:function(e,t,n,r){var i=e((function(e,i){SJ(e,a),aCe(e,{type:t,id:uCe++,frozen:void 0}),i!=null&&OJ(i,e[r],{that:e,AS_ENTRIES:n})})),a=i.prototype,o=oCe(t),s=function(e,t,n){var r=o(e),i=lX(EK(t),!0);return!0===i?uX(r).set(t,n):i[r.id]=n,e};return _J(a,{delete:function(e){var t=o(this);if(!YG(e))return!1;var n=lX(e);return!0===n?uX(t).delete(e):n&&mK(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!YG(e))return!1;var n=lX(e);return!0===n?uX(t).has(e):n&&mK(n,t.id)}}),_J(a,n?{get:function(e){var t=o(this);if(YG(e)){var n=lX(e);return!0===n?uX(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),i}},hX=UK.enforce,dCe=!Y.ActiveXObject&&`ActiveXObject`in Y,gX=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},fCe=function(e,t,n){var r=e.indexOf(`Map`)!==-1,i=e.indexOf(`Weak`)!==-1,a=r?`set`:`add`,o=Y[e],s=o&&o.prototype,c=o,l={},u=function(e){var t=HG(s[e]);qK(s,e,e==`add`?function(e){return t(this,e===0?0:e),this}:e==`delete`?function(e){return!(i&&!YG(e))&&t(this,e===0?0:e)}:e==`get`?function(e){return i&&!YG(e)?void 0:t(this,e===0?0:e)}:e==`has`?function(e){return!(i&&!YG(e))&&t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(aq(e,!JG(o)||!(i||s.forEach&&!MG((function(){new o().entries().next()})))))c=n.getConstructor(t,e,r,a),cX.enable();else if(aq(e,!0)){var d=new c,f=d[a](i?{}:-0,1)!=d,p=MG((function(){d.has(1)})),m=IJ((function(e){new o(e)})),h=!i&&MG((function(){for(var e=new o,t=5;t--;)e[a](t,t);return!e.has(-0)}));m||((c=t((function(e,t){SJ(e,s);var n=function(e,t,n){var r,i;return vJ&&JG(r=t.constructor)&&r!==n&&YG(i=r.prototype)&&i!==n.prototype&&vJ(e,i),e}(new o,e,c);return t!=null&&OJ(t,n[a],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=c),(p||h)&&(u(`delete`),u(`has`),r&&u(`get`)),(h||f)&&u(a),i&&s.clear&&delete s.clear}return l[e]=c,oq({global:!0,forced:c!=o},l),bJ(c,e),i||n.setStrong(c,e,r),c}(`WeakMap`,gX,mX);if(FK&&dCe){pX=mX.getConstructor(gX,`WeakMap`,!0),cX.enable();var _X=fCe.prototype,vX=HG(_X.delete),yX=HG(_X.has),bX=HG(_X.get),xX=HG(_X.set);_J(_X,{delete:function(e){if(YG(e)&&!sX(e)){var t=hX(this);return t.frozen||=new pX,vX(this,e)||t.frozen.delete(e)}return vX(this,e)},has:function(e){if(YG(e)&&!sX(e)){var t=hX(this);return t.frozen||=new pX,yX(this,e)||t.frozen.has(e)}return yX(this,e)},get:function(e){if(YG(e)&&!sX(e)){var t=hX(this);return t.frozen||=new pX,yX(this,e)?bX(this,e):t.frozen.get(e)}return bX(this,e)},set:function(e,t){if(YG(e)&&!sX(e)){var n=hX(this);n.frozen||=new pX,yX(this,e)?xX(this,e,t):n.frozen.set(e,t)}else xX(this,e,t);return this}})}var SX={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},CX=SK(`span`).classList,wX=CX&&CX.constructor&&CX.constructor.prototype,pCe=wX===Object.prototype?void 0:wX,TX=yK(`iterator`),EX=yK(`toStringTag`),DX=tX.values,OX=function(e,t){if(e){if(e[TX]!==DX)try{kK(e,TX,DX)}catch{e[TX]=DX}if(e[EX]||kK(e,EX,t),SX[t]){for(var n in tX)if(e[n]!==tX[n])try{kK(e,n,tX[n])}catch{e[n]=tX[n]}}}};for(var kX in SX)OX(Y[kX]&&Y[kX].prototype,kX);OX(pCe,`DOMTokenList`);var mCe=KK.EXISTS,hCe=OK.f,AX=Function.prototype,gCe=HG(AX.toString),jX=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_Ce=HG(jX.exec);NG&&!mCe&&hCe(AX,`name`,{configurable:!0,get:function(){try{return _Ce(jX,gCe(this))[1]}catch{return``}}});var vCe=yK(`species`),yCe=rK>=51||!MG((function(){var e=[];return(e.constructor={})[vCe]=function(){return{foo:1}},e.slice(Boolean).foo!==1})),bCe=yK(`species`),MX=Y.Array,xCe=Math.max;function NX(e){return e.getMenuConfig(`uploadVideo`)}oq({target:`Array`,proto:!0,forced:!yCe},{slice:function(e,t){var n,r,i,a=qG(this),o=ZK(a),s=YK(e,o),c=YK(t===void 0?o:t,o);if(Aq(a)&&(n=a.constructor,(Fq(n)&&(n===MX||Aq(n.prototype))||YG(n)&&(n=n[bCe])===null)&&(n=void 0),n===MX||n===void 0))return LJ(a,s,c);for(r=new(n===void 0?MX:n)(xCe(c-s,0)),i=0;s<c;s++,i++)s in a&&nX(r,i,a[s]);return r.length=i,r}});var PX=new WeakMap;function SCe(e,t){return wG(this,void 0,void 0,(function(){var n,r,i,a;return TG(this,(function(o){switch(o.label){case 0:return n=function(e){var t=PX.get(e);if(t!=null)return t;var n=NX(e),r=n.onSuccess,i=n.onProgress,a=n.onFailed,o=n.customInsert,s=n.onError;return t=bE(CG(CG({},n),{onProgress:function(t){e.showProgressBar(t),i&&i(t)},onSuccess:function(t,n){if(o)return o(n,(function(t,n){return zY(e,t,n)})),void r(t,n);var i=n.errno,s=i===void 0?1:i,c=n.data,l=c===void 0?{}:c;if(s===0){var u=l.url,d=u===void 0?``:u,f=l.poster;zY(e,d,f===void 0?``:f),r(t,n)}else a(t,n)},onError:function(e,t,n){s(e,t,n)}})),PX.set(e,t),t}(e),r=t.name,i=t.type,a=t.size,n.addFile({name:r,type:i,size:a,data:t}),[4,n.upload()];case 1:return o.sent(),[2]}}))}))}var CCe=function(){function e(){this.title=K(`videoModule.uploadVideo`),this.iconSvg=`<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,i=r===void 0?[]:r,a=n.customBrowseAndUpload;if(a)a((function(t,n){return zY(e,t,n)}));else{var o=``;i.length>0&&(o=`accept="`+i.join(`, `)+`"`);var s=B(`body`),c=B(`<input type="file" `+o+` multiple/>`);c.hide(),s.append(c),c.click(),c.on(`change`,(function(){(function(e,t){var n,r;wG(this,void 0,void 0,(function(){var i,a,o,s,c,l;return TG(this,(function(u){switch(u.label){case 0:if(t==null)return[2];i=Array.prototype.slice.call(t),a=NX(e).customUpload,u.label=1;case 1:u.trys.push([1,9,10,15]),o=Cbe(i),u.label=2;case 2:return[4,o.next()];case 3:return(s=u.sent()).done?[3,8]:(c=s.value,a?[4,a(c,(function(t,n){return zY(e,t,n)}))]:[3,5]);case 4:return u.sent(),[3,7];case 5:return[4,SCe(e,c)];case 6:u.sent(),u.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return l=u.sent(),n={error:l},[3,15];case 10:return u.trys.push([10,,13,14]),s&&!s.done&&(r=o.return)?[4,r.call(o)]:[3,12];case 11:u.sent(),u.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2]}}))}))})(e,c[0].files)}))}},e.prototype.isDisabled=function(e){var t=e.selection;return t==null||!L.isCollapsed(t)||!!G.getSelectedElems(e).some((function(t){var n=G.getNodeType(t);return n===`pre`||n===`list-item`||!!e.isVoid(t)}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig(`uploadVideo`)},e}(),wCe=KK.PROPER,FX=RegExp.prototype,IX=FX.toString,TCe=HG(Wq),ECe=MG((function(){return IX.call({source:`a`,flags:`b`})!=`/a/b`})),DCe=wCe&&IX.name!=`toString`;function LX(){return hJ(`w-e-insert-video`)}(ECe||DCe)&&qK(RegExp.prototype,`toString`,(function(){var e=EK(this),t=uq(e.source),n=e.flags;return`/`+t+`/`+uq(n===void 0&&ZG(FX,e)&&!(`flags`in FX)?TCe(e):n)}),{unsafe:!0});var OCe=function(){function e(){this.title=K(`videoModule.editSize`),this.tag=`button`,this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=LX(),this.heightInputId=LX(),this.buttonId=LX()}return e.prototype.getSelectedVideoNode=function(e){return G.getSelectedNodeByType(e,`video`)},e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedVideoNode(e)==null},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,i=t.buttonId,a=EG(dE(K(`videoModule.width`),n,`auto`),2),o=a[0],s=B(a[1]),c=EG(dE(K(`videoModule.height`),r,`auto`),2),l=c[0],u=B(c[1]),d=EG(fE(i,K(`videoModule.ok`)),1)[0];if(this.$content==null){var f=B(`<div></div>`);f.on(`click`,`#`+i,(function(t){t.preventDefault();var i=f.find(`#`+n).val().trim(),a=f.find(`#`+r).val().trim(),o=parseInt(i),s=parseInt(a),c=o?o.toString():`auto`,l=s?s.toString():`auto`;e.restoreSelection(),z.setNodes(e,{width:c,height:l},{match:function(e){return G.checkNodeType(e,`video`)}}),e.hidePanelOrModal()})),this.$content=f}var p=this.$content;p.empty(),p.append(o),p.append(l),p.append(d);var m=this.getSelectedVideoNode(e);if(m==null)return p[0];var h=m.width,g=h===void 0?`auto`:h,_=m.height,v=_===void 0?`auto`:_;return s.val(g),u.val(v),setTimeout((function(){s.focus()})),p[0]},e}(),kCe={renderElems:[Txe],elemsToHtml:[Exe],preParseHtml:[Axe],parseElemsHtml:[Rxe],menus:[{key:`insertVideo`,factory:function(){return new VY},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:`uploadVideo`,factory:function(){return new CCe},config:{server:``,fieldName:`wangeditor-uploaded-video`,maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:[`video/*`],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error(`'`+e.name+`' upload failed`,t)},onError:function(e,t,n){console.error(`'`+e.name+` upload error`,t,n)}}},{key:`editVideoSize`,factory:function(){return new OCe}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return e.type===`video`||t(e)},r.normalizeNode=function(e){var t=EG(e,2),i=t[0],a=t[1];return G.getNodeType(i)===`video`&&G.isLastNode(r,i)&&z.insertNodes(r,G.genEmptyParagraph(),{at:[a[0]+1]}),n([i,a])},r}};aD(`en`,{uploadImgModule:{uploadImage:`Upload Image`,uploadError:`{{fileName}} upload error`}}),aD(`zh-CN`,{uploadImgModule:{uploadImage:`上传图片`,uploadError:`{{fileName}} 上传出错`}});var RX=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function zX(e){var t={exports:{}};return e(t,t.exports),t.exports}var BX,VX,HX=function(e){return e&&e.Math==Math&&e},X=HX(typeof globalThis==`object`&&globalThis)||HX(typeof window==`object`&&window)||HX(typeof self==`object`&&self)||HX(typeof RX==`object`&&RX)||function(){return this}()||Function(`return this`)(),UX=function(e){try{return!!e()}catch{return!0}},WX=!UX((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),GX=Function.prototype.call,KX=GX.bind?GX.bind(GX):function(){return GX.apply(GX,arguments)},qX={}.propertyIsEnumerable,JX=Object.getOwnPropertyDescriptor,ACe={f:JX&&!qX.call({1:2},1)?function(e){var t=JX(this,e);return!!t&&t.enumerable}:qX},YX=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},XX=Function.prototype,ZX=XX.bind,QX=XX.call,jCe=ZX&&ZX.bind(QX),$X=ZX?function(e){return e&&jCe(QX,e)}:function(e){return e&&function(){return QX.apply(e,arguments)}},MCe=$X({}.toString),NCe=$X(``.slice),eZ=function(e){return NCe(MCe(e),8,-1)},tZ=X.Object,PCe=$X(``.split),nZ=UX((function(){return!tZ(`z`).propertyIsEnumerable(0)}))?function(e){return eZ(e)==`String`?PCe(e,``):tZ(e)}:tZ,FCe=X.TypeError,rZ=function(e){if(e==null)throw FCe(`Can't call method on `+e);return e},iZ=function(e){return nZ(rZ(e))},aZ=function(e){return typeof e==`function`},oZ=function(e){return typeof e==`object`?e!==null:aZ(e)},ICe=function(e){return aZ(e)?e:void 0},sZ=function(e,t){return arguments.length<2?ICe(X[e]):X[e]&&X[e][t]},cZ=$X({}.isPrototypeOf),lZ=sZ(`navigator`,`userAgent`)||``,uZ=X.process,dZ=X.Deno,fZ=uZ&&uZ.versions||dZ&&dZ.version,pZ=fZ&&fZ.v8;pZ&&(VX=(BX=pZ.split(`.`))[0]>0&&BX[0]<4?1:+(BX[0]+BX[1])),!VX&&lZ&&(!(BX=lZ.match(/Edge\/(\d+)/))||BX[1]>=74)&&(BX=lZ.match(/Chrome\/(\d+)/))&&(VX=+BX[1]);var mZ=VX,hZ=!!Object.getOwnPropertySymbols&&!UX((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&mZ&&mZ<41})),gZ=hZ&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,LCe=X.Object,_Z=gZ?function(e){return typeof e==`symbol`}:function(e){var t=sZ(`Symbol`);return aZ(t)&&cZ(t.prototype,LCe(e))},RCe=X.String,vZ=function(e){try{return RCe(e)}catch{return`Object`}},zCe=X.TypeError,yZ=function(e){if(aZ(e))return e;throw zCe(vZ(e)+` is not a function`)},bZ=function(e,t){var n=e[t];return n==null?void 0:yZ(n)},BCe=X.TypeError,VCe=Object.defineProperty,xZ=function(e,t){try{VCe(X,e,{value:t,configurable:!0,writable:!0})}catch{X[e]=t}return t},SZ=X[`__core-js_shared__`]||xZ(`__core-js_shared__`,{}),CZ=zX((function(e){(e.exports=function(e,t){return SZ[e]||(SZ[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),HCe=X.Object,wZ=function(e){return HCe(rZ(e))},UCe=$X({}.hasOwnProperty),TZ=Object.hasOwn||function(e,t){return UCe(wZ(e),t)},WCe=0,GCe=Math.random(),KCe=$X(1 .toString),EZ=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+KCe(++WCe+GCe,36)},DZ=CZ(`wks`),OZ=X.Symbol,kZ=OZ&&OZ.for,qCe=gZ?OZ:OZ&&OZ.withoutSetter||EZ,AZ=function(e){if(!TZ(DZ,e)||!hZ&&typeof DZ[e]!=`string`){var t=`Symbol.`+e;hZ&&TZ(OZ,e)?DZ[e]=OZ[e]:DZ[e]=gZ&&kZ?kZ(t):qCe(t)}return DZ[e]},JCe=X.TypeError,YCe=AZ(`toPrimitive`),jZ=function(e){var t=function(e,t){if(!oZ(e)||_Z(e))return e;var n,r=bZ(e,YCe);if(r){if(t===void 0&&(t=`default`),n=KX(r,e,t),!oZ(n)||_Z(n))return n;throw JCe(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&aZ(n=e.toString)&&!oZ(r=KX(n,e))||aZ(n=e.valueOf)&&!oZ(r=KX(n,e))||t!==`string`&&aZ(n=e.toString)&&!oZ(r=KX(n,e)))return r;throw BCe(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return _Z(t)?t:t+``},MZ=X.document,XCe=oZ(MZ)&&oZ(MZ.createElement),NZ=function(e){return XCe?MZ.createElement(e):{}},PZ=!WX&&!UX((function(){return Object.defineProperty(NZ(`div`),`a`,{get:function(){return 7}}).a!=7})),FZ=Object.getOwnPropertyDescriptor,IZ={f:WX?FZ:function(e,t){if(e=iZ(e),t=jZ(t),PZ)try{return FZ(e,t)}catch{}if(TZ(e,t))return YX(!KX(ACe.f,e,t),e[t])}},ZCe=X.String,QCe=X.TypeError,LZ=function(e){if(oZ(e))return e;throw QCe(ZCe(e)+` is not an object`)},$Ce=X.TypeError,RZ=Object.defineProperty,zZ={f:WX?RZ:function(e,t,n){if(LZ(e),t=jZ(t),LZ(n),PZ)try{return RZ(e,t,n)}catch{}if(`get`in n||`set`in n)throw $Ce(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},BZ=WX?function(e,t,n){return zZ.f(e,t,YX(1,n))}:function(e,t,n){return e[t]=n,e},ewe=$X(Function.toString);aZ(SZ.inspectSource)||(SZ.inspectSource=function(e){return ewe(e)});var VZ,HZ,UZ,WZ=SZ.inspectSource,GZ=X.WeakMap,KZ=aZ(GZ)&&/native code/.test(WZ(GZ)),qZ=CZ(`keys`),JZ=function(e){return qZ[e]||(qZ[e]=EZ(e))},YZ={},XZ=X.TypeError,twe=X.WeakMap;if(KZ||SZ.state){var ZZ=SZ.state||=new twe,nwe=$X(ZZ.get),QZ=$X(ZZ.has),rwe=$X(ZZ.set);VZ=function(e,t){if(QZ(ZZ,e))throw new XZ(`Object already initialized`);return t.facade=e,rwe(ZZ,e,t),t},HZ=function(e){return nwe(ZZ,e)||{}},UZ=function(e){return QZ(ZZ,e)}}else{var $Z=JZ(`state`);YZ[$Z]=!0,VZ=function(e,t){if(TZ(e,$Z))throw new XZ(`Object already initialized`);return t.facade=e,BZ(e,$Z,t),t},HZ=function(e){return TZ(e,$Z)?e[$Z]:{}},UZ=function(e){return TZ(e,$Z)}}var eQ={set:VZ,get:HZ,has:UZ,enforce:function(e){return UZ(e)?HZ(e):VZ(e,{})},getterFor:function(e){return function(t){var n;if(!oZ(t)||(n=HZ(t)).type!==e)throw XZ(`Incompatible receiver, `+e+` required`);return n}}},tQ=Function.prototype,iwe=WX&&Object.getOwnPropertyDescriptor,nQ=TZ(tQ,`name`),rQ={EXISTS:nQ,PROPER:nQ&&function(){}.name===`something`,CONFIGURABLE:nQ&&(!WX||WX&&iwe(tQ,`name`).configurable)},iQ=zX((function(e){var t=rQ.CONFIGURABLE,n=eQ.get,r=eQ.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;aZ(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!TZ(a,`name`)||t&&a.name!==d)&&BZ(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===X?l?e[n]=a:xZ(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:BZ(e,n,a))})(Function.prototype,`toString`,(function(){return aZ(this)&&n(this).source||WZ(this)}))})),awe=Math.ceil,owe=Math.floor,aQ=function(e){var t=+e;return t!=t||t===0?0:(t>0?owe:awe)(t)},swe=Math.max,cwe=Math.min,oQ=function(e,t){var n=aQ(e);return n<0?swe(n+t,0):cwe(n,t)},lwe=Math.min,sQ=function(e){return e>0?lwe(aQ(e),9007199254740991):0},cQ=function(e){return sQ(e.length)},uwe=function(e){return function(t,n,r){var i,a=iZ(t),o=cQ(a),s=oQ(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}}(!1),lQ=$X([].push),uQ=function(e,t){var n,r=iZ(e),i=0,a=[];for(n in r)!TZ(YZ,n)&&TZ(r,n)&&lQ(a,n);for(;t.length>i;)TZ(r,n=t[i++])&&(~uwe(a,n)||lQ(a,n));return a},dQ=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],dwe=dQ.concat(`length`,`prototype`),fQ={f:Object.getOwnPropertyNames||function(e){return uQ(e,dwe)}},fwe={f:Object.getOwnPropertySymbols},pwe=$X([].concat),mwe=sZ(`Reflect`,`ownKeys`)||function(e){var t=fQ.f(LZ(e)),n=fwe.f;return n?pwe(t,n(e)):t},hwe=function(e,t){for(var n=mwe(t),r=zZ.f,i=IZ.f,a=0;a<n.length;a++){var o=n[a];TZ(e,o)||r(e,o,i(t,o))}},gwe=/#|\.prototype\./,pQ=function(e,t){var n=vwe[_we(e)];return n==bwe||n!=ywe&&(aZ(t)?UX(t):!!t)},_we=pQ.normalize=function(e){return String(e).replace(gwe,`.`).toLowerCase()},vwe=pQ.data={},ywe=pQ.NATIVE=`N`,bwe=pQ.POLYFILL=`P`,mQ=pQ,xwe=IZ.f,hQ=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?X:l?X[s]||xZ(s,{}):(X[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=xwe(n,r))&&o.value:n[r],!mQ(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;hwe(a,i)}(e.sham||i&&i.sham)&&BZ(a,`sham`,!0),iQ(n,r,a,e)}},gQ=Array.isArray||function(e){return eZ(e)==`Array`},_Q={};_Q[AZ(`toStringTag`)]=`z`;var vQ=String(_Q)===`[object z]`,Swe=AZ(`toStringTag`),Cwe=X.Object,wwe=eZ(function(){return arguments}())==`Arguments`,yQ=vQ?eZ:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=Cwe(e),Swe))==`string`?n:wwe?eZ(t):(r=eZ(t))==`Object`&&aZ(t.callee)?`Arguments`:r},bQ=function(){},Twe=[],xQ=sZ(`Reflect`,`construct`),SQ=/^\s*(?:class|function)\b/,Ewe=$X(SQ.exec),Dwe=!SQ.exec(bQ),CQ=function(e){if(!aZ(e))return!1;try{return xQ(bQ,Twe,e),!0}catch{return!1}},wQ=!xQ||UX((function(){var e;return CQ(CQ.call)||!CQ(Object)||!CQ((function(){e=!0}))||e}))?function(e){if(!aZ(e))return!1;switch(yQ(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return Dwe||!!Ewe(SQ,WZ(e))}:CQ,TQ=function(e,t,n){var r=jZ(t);r in e?zZ.f(e,r,YX(0,n)):e[r]=n},Owe=AZ(`species`),EQ=$X([].slice),kwe=mZ>=51||!UX((function(){var e=[];return(e.constructor={})[Owe]=function(){return{foo:1}},e.slice(Boolean).foo!==1})),Awe=AZ(`species`),DQ=X.Array,jwe=Math.max;hQ({target:`Array`,proto:!0,forced:!kwe},{slice:function(e,t){var n,r,i,a=iZ(this),o=cQ(a),s=oQ(e,o),c=oQ(t===void 0?o:t,o);if(gQ(a)&&(n=a.constructor,(wQ(n)&&(n===DQ||gQ(n.prototype))||oZ(n)&&(n=n[Awe])===null)&&(n=void 0),n===DQ||n===void 0))return EQ(a,s,c);for(r=new(n===void 0?DQ:n)(jwe(c-s,0)),i=0;s<c;s++,i++)s in a&&TQ(r,i,a[s]);return r.length=i,r}});var Mwe=vQ?{}.toString:function(){return`[object `+yQ(this)+`]`};vQ||iQ(Object.prototype,`toString`,Mwe,{unsafe:!0});var OQ,Nwe=X.String,kQ=function(e){if(yQ(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return Nwe(e)},AQ=function(){var e=LZ(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},jQ=X.RegExp,MQ=UX((function(){var e=jQ(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),Pwe=MQ||UX((function(){return!jQ(`a`,`y`).sticky})),NQ={BROKEN_CARET:MQ||UX((function(){var e=jQ(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:Pwe,UNSUPPORTED_Y:MQ},Fwe=Object.keys||function(e){return uQ(e,dQ)},Iwe=WX?Object.defineProperties:function(e,t){LZ(e);for(var n,r=iZ(t),i=Fwe(t),a=i.length,o=0;a>o;)zZ.f(e,n=i[o++],r[n]);return e},PQ=sZ(`document`,`documentElement`),FQ=JZ(`IE_PROTO`),IQ=function(){},LQ=function(e){return`<script>`+e+`<\/script>`},RQ=function(e){e.write(LQ(``)),e.close();var t=e.parentWindow.Object;return e=null,t},zQ=function(){try{OQ=new ActiveXObject(`htmlfile`)}catch{}var e,t;zQ=typeof document<`u`?document.domain&&OQ?RQ(OQ):((t=NZ(`iframe`)).style.display=`none`,PQ.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(LQ(`document.F=Object`)),e.close(),e.F):RQ(OQ);for(var n=dQ.length;n--;)delete zQ.prototype[dQ[n]];return zQ()};YZ[FQ]=!0;var BQ,VQ,HQ=Object.create||function(e,t){var n;return e===null?n=zQ():(IQ.prototype=LZ(e),n=new IQ,IQ.prototype=null,n[FQ]=e),t===void 0?n:Iwe(n,t)},Lwe=X.RegExp,Rwe=UX((function(){var e=Lwe(`.`,`s`);return!(e.dotAll&&e.exec(`
76
+ `)&&e.flags===`s`)})),zwe=X.RegExp,Bwe=UX((function(){var e=zwe(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),Vwe=eQ.get,Hwe=CZ(`native-string-replace`,String.prototype.replace),UQ=RegExp.prototype.exec,WQ=UQ,Uwe=$X(``.charAt),Wwe=$X(``.indexOf),Gwe=$X(``.replace),GQ=$X(``.slice),KQ=(VQ=/b*/g,KX(UQ,BQ=/a/,`a`),KX(UQ,VQ,`a`),BQ.lastIndex!==0||VQ.lastIndex!==0),qQ=NQ.BROKEN_CARET,JQ=/()??/.exec(``)[1]!==void 0;(KQ||JQ||qQ||Rwe||Bwe)&&(WQ=function(e){var t,n,r,i,a,o,s,c=this,l=Vwe(c),u=kQ(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=KX(WQ,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=qQ&&c.sticky,m=KX(AQ,c),h=c.source,g=0,_=u;if(p&&(m=Gwe(m,`y`,``),Wwe(m,`g`)===-1&&(m+=`g`),_=GQ(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&Uwe(u,c.lastIndex-1)!==`
77
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),JQ&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),KQ&&(r=c.lastIndex),i=KX(UQ,p?n:c,_),p?i?(i.input=GQ(i.input,g),i[0]=GQ(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:KQ&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),JQ&&i&&i.length>1&&KX(Hwe,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=HQ(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var YQ=WQ;hQ({target:`RegExp`,proto:!0,forced:/./.exec!==YQ},{exec:YQ});var XQ=Function.prototype,ZQ=XQ.apply,Kwe=XQ.bind,QQ=XQ.call,$Q=typeof Reflect==`object`&&Reflect.apply||(Kwe?QQ.bind(ZQ):function(){return QQ.apply(ZQ,arguments)}),qwe=AZ(`species`),e$=RegExp.prototype,Jwe=AZ(`match`),Ywe=X.TypeError,Xwe=AZ(`species`),t$=function(e,t){var n,r=LZ(e).constructor;return r===void 0||(n=LZ(r)[Xwe])==null?t:function(e){if(wQ(e))return e;throw Ywe(vZ(e)+` is not a constructor`)}(n)},Zwe=$X(``.charAt),n$=$X(``.charCodeAt),Qwe=$X(``.slice),r$=function(e){return function(t,n){var r,i,a=kQ(rZ(t)),o=aQ(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=n$(a,o))<55296||r>56319||o+1===s||(i=n$(a,o+1))<56320||i>57343?e?Zwe(a,o):r:e?Qwe(a,o,o+2):i-56320+(r-55296<<10)+65536}},i$={codeAt:r$(!1),charAt:r$(!0)},$we=i$.charAt,eTe=function(e,t,n){return t+(n?$we(e,t).length:1)},tTe=X.Array,nTe=Math.max,a$=function(e,t,n){for(var r=cQ(e),i=oQ(t,r),a=oQ(n===void 0?r:n,r),o=tTe(nTe(a-i,0)),s=0;i<a;i++,s++)TQ(o,s,e[i]);return o.length=s,o},rTe=X.TypeError,o$=function(e,t){var n=e.exec;if(aZ(n)){var r=KX(n,e,t);return r!==null&&LZ(r),r}if(eZ(e)===`RegExp`)return KX(YQ,e,t);throw rTe(`RegExp#exec called on incompatible receiver`)},s$=NQ.UNSUPPORTED_Y,iTe=Math.min,c$=[].push,aTe=$X(/./.exec),l$=$X(c$),u$=$X(``.slice);(function(e,t,n,r){var i=AZ(e),a=!UX((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!UX((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[qwe]=function(){return t},t.flags=``,t[i]=/./[i],t.exec=function(){return e=!0,null},t[i](``),!e}));if(!a||!o||n){var s=$X(/./[i]),c=function(e,t,n){var r;return r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r,i,a=kQ(rZ(this)),o=n===void 0?4294967295:n>>>0;if(o===0)return[];if(e===void 0)return[a];if(!oZ(r=e)||!((i=r[Jwe])===void 0?eZ(r)==`RegExp`:i))return KX(t,a,e,o);for(var s,c,l,u=[],d=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),f=0,p=new RegExp(e.source,d+`g`);(s=KX(YQ,p,a))&&!((c=p.lastIndex)>f&&(l$(u,u$(a,f,s.index)),s.length>1&&s.index<a.length&&$Q(c$,u,a$(s,1)),l=s[0].length,f=c,u.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return f===a.length?!l&&aTe(p,``)||l$(u,``):l$(u,u$(a,f)),u.length>o?a$(u,0,o):u}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:KX(t,this,e,n)}:t,[function(t,n){var i=rZ(this),a=t==null?void 0:bZ(t,e);return a?KX(a,t,i,n):KX(r,kQ(i),t,n)},function(e,i){var a=LZ(this),o=kQ(e),s=n(r,a,o,i,r!==t);if(s.done)return s.value;var c=t$(a,RegExp),l=a.unicode,u=(a.ignoreCase?`i`:``)+(a.multiline?`m`:``)+(a.unicode?`u`:``)+(s$?`g`:`y`),d=new c(s$?`^(?:`+a.source+`)`:a,u),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o.length===0)return o$(d,o)===null?[o]:[];for(var p=0,m=0,h=[];m<o.length;){d.lastIndex=s$?0:m;var g,_=o$(d,s$?u$(o,m):o);if(_===null||(g=iTe(sQ(d.lastIndex+(s$?m:0)),o.length))===p)m=eTe(o,m,l);else{if(l$(h,u$(o,p,m)),h.length===f)return h;for(var v=1;v<=_.length-1;v++)if(l$(h,_[v]),h.length===f)return h;m=p=g}}return l$(h,u$(o,p)),h}]}(i,``[e],(function(e,t,n,r,i){var o=$X(e),c=t.exec;return c===YQ||c===e$.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));iQ(String.prototype,e,c[0]),iQ(e$,i,c[1])}r&&BZ(e$[i],`sham`,!0)})(`split`,0,!!UX((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`})),s$);var d$=function(){return d$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},d$.apply(this,arguments)};function f$(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}function p$(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==`function`&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError(`Generator is already executing.`);for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||a[0]!==6&&a[0]!==2)){o=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(a[0]===6&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function oTe(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(e),t={},r(`next`),r(`throw`),r(`return`),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}var m$=AZ(`unscopables`),h$=Array.prototype;h$[m$]??zZ.f(h$,m$,{configurable:!0,value:HQ(null)});var g$,_$,v$,y$=function(e){h$[m$][e]=!0},b$={},sTe=!UX((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),x$=JZ(`IE_PROTO`),S$=X.Object,cTe=S$.prototype,C$=sTe?S$.getPrototypeOf:function(e){var t=wZ(e);if(TZ(t,x$))return t[x$];var n=t.constructor;return aZ(n)&&t instanceof n?n.prototype:t instanceof S$?cTe:null},w$=AZ(`iterator`),T$=!1;[].keys&&(`next`in(v$=[].keys())?(_$=C$(C$(v$)))!==Object.prototype&&(g$=_$):T$=!0),(g$==null||UX((function(){var e={};return g$[w$].call(e)!==e})))&&(g$={}),aZ(g$[w$])||iQ(g$,w$,(function(){return this}));var E$={IteratorPrototype:g$,BUGGY_SAFARI_ITERATORS:T$},lTe=zZ.f,D$=AZ(`toStringTag`),O$=function(e,t,n){e&&!TZ(e=n?e:e.prototype,D$)&&lTe(e,D$,{configurable:!0,value:t})},uTe=E$.IteratorPrototype,dTe=function(){return this},fTe=X.String,pTe=X.TypeError,k$=Object.setPrototypeOf||(`__proto__`in{}?function(){var e,t=!1,n={};try{(e=$X(Object.getOwnPropertyDescriptor(Object.prototype,`__proto__`).set))(n,[]),t=n instanceof Array}catch{}return function(n,r){return LZ(n),function(e){if(typeof e==`object`||aZ(e))return e;throw pTe(`Can't set `+fTe(e)+` as a prototype`)}(r),t?e(n,r):n.__proto__=r,n}}():void 0),mTe=rQ.PROPER,hTe=rQ.CONFIGURABLE,A$=E$.IteratorPrototype,j$=E$.BUGGY_SAFARI_ITERATORS,M$=AZ(`iterator`),gTe=function(){return this},N$=function(e,t,n,r,i,a,o){(function(e,t,n,r){var i=t+` Iterator`;e.prototype=HQ(uTe,{next:YX(1,n)}),O$(e,i,!1),b$[i]=dTe})(n,t,r);var s,c,l,u=function(e){if(e===i&&h)return h;if(!j$&&e in p)return p[e];switch(e){case`keys`:case`values`:case`entries`:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+` Iterator`,f=!1,p=e.prototype,m=p[M$]||p[`@@iterator`]||i&&p[i],h=!j$&&m||u(i),g=t==`Array`&&p.entries||m;if(g&&(s=C$(g.call(new e)))!==Object.prototype&&s.next&&(C$(s)!==A$&&(k$?k$(s,A$):aZ(s[M$])||iQ(s,M$,gTe)),O$(s,d,!0)),mTe&&i==`values`&&m&&m.name!==`values`&&(hTe?BZ(p,`name`,`values`):(f=!0,h=function(){return KX(m,this)})),i)if(c={values:u(`values`),keys:a?h:u(`keys`),entries:u(`entries`)},o)for(l in c)(j$||f||!(l in p))&&iQ(p,l,c[l]);else hQ({target:t,proto:!0,forced:j$||f},c);return p[M$]!==h&&iQ(p,M$,h,{name:i}),b$[t]=h,c},_Te=eQ.set,vTe=eQ.getterFor(`Array Iterator`),P$=N$(Array,`Array`,(function(e,t){_Te(this,{type:`Array Iterator`,target:iZ(e),index:0,kind:t})}),(function(){var e=vTe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n==`keys`?{value:r,done:!1}:n==`values`?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),`values`);b$.Arguments=b$.Array,y$(`keys`),y$(`values`),y$(`entries`);var yTe=i$.charAt,bTe=eQ.set,xTe=eQ.getterFor(`String Iterator`);N$(String,`String`,(function(e){bTe(this,{type:`String Iterator`,string:kQ(e),index:0})}),(function(){var e,t=xTe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=yTe(n,r),t.index+=e.length,{value:e,done:!1})}));var F$=function(e,t,n){for(var r in t)iQ(e,r,t[r],n);return e},I$=fQ.f,L$=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],STe={f:function(e){return L$&&eZ(e)==`Window`?function(e){try{return I$(e)}catch{return a$(L$)}}(e):I$(iZ(e))}},R$=UX((function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,`a`,{value:8})}})),z$=Object.isExtensible,B$=UX((function(){z$(1)}))||R$?function(e){return!!oZ(e)&&(!R$||eZ(e)!=`ArrayBuffer`)&&(!z$||z$(e))}:z$,CTe=!UX((function(){return Object.isExtensible(Object.preventExtensions({}))})),V$=zX((function(e){var t=zZ.f,n=!1,r=EZ(`meta`),i=0,a=function(e){t(e,r,{value:{objectID:`O`+ i++,weakData:{}}})},o=e.exports={enable:function(){o.enable=function(){},n=!0;var e=fQ.f,t=$X([].splice),i={};i[r]=1,e(i).length&&(fQ.f=function(n){for(var i=e(n),a=0,o=i.length;a<o;a++)if(i[a]===r){t(i,a,1);break}return i},hQ({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:STe.f}))},fastKey:function(e,t){if(!oZ(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!TZ(e,r)){if(!B$(e))return`F`;if(!t)return`E`;a(e)}return e[r].objectID},getWeakData:function(e,t){if(!TZ(e,r)){if(!B$(e))return!0;if(!t)return!1;a(e)}return e[r].weakData},onFreeze:function(e){return CTe&&n&&B$(e)&&!TZ(e,r)&&a(e),e}};YZ[r]=!0})),H$=$X($X.bind),U$=function(e,t){return yZ(e),t===void 0?e:H$?H$(e,t):function(){return e.apply(t,arguments)}},wTe=AZ(`iterator`),TTe=Array.prototype,ETe=AZ(`iterator`),W$=function(e){if(e!=null)return bZ(e,ETe)||bZ(e,`@@iterator`)||b$[yQ(e)]},DTe=X.TypeError,G$=function(e,t,n){var r,i;LZ(e);try{if(!(r=bZ(e,`return`))){if(t===`throw`)throw n;return n}r=KX(r,e)}catch(e){i=!0,r=e}if(t===`throw`)throw n;if(i)throw r;return LZ(r),n},OTe=X.TypeError,K$=function(e,t){this.stopped=e,this.result=t},q$=K$.prototype,J$=function(e,t,n){var r,i,a,o,s,c,l,u,d=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),h=U$(t,d),g=function(e){return r&&G$(r,`normal`,e),new K$(!0,e)},_=function(e){return f?(LZ(e),m?h(e[0],e[1],g):h(e[0],e[1])):m?h(e,g):h(e)};if(p)r=e;else{if(!(i=W$(e)))throw OTe(vZ(e)+` is not iterable`);if((u=i)!==void 0&&(b$.Array===u||TTe[wTe]===u)){for(a=0,o=cQ(e);o>a;a++)if((s=_(e[a]))&&cZ(q$,s))return s;return new K$(!1)}r=function(e,t){var n=arguments.length<2?W$(e):t;if(yZ(n))return LZ(KX(n,e));throw DTe(vZ(e)+` is not iterable`)}(e,i)}for(c=r.next;!(l=KX(c,r)).done;){try{s=_(l.value)}catch(e){G$(r,`throw`,e)}if(typeof s==`object`&&s&&cZ(q$,s))return s}return new K$(!1)},kTe=X.TypeError,Y$=function(e,t){if(cZ(t,e))return e;throw kTe(`Incorrect invocation`)},X$=AZ(`iterator`),Z$=!1;try{var ATe=0,Q$={next:function(){return{done:!!ATe++}},return:function(){Z$=!0}};Q$[X$]=function(){return this},Array.from(Q$,(function(){throw 2}))}catch{}var $$=function(e,t){if(!t&&!Z$)return!1;var n=!1;try{var r={};r[X$]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},jTe=AZ(`species`),e1=X.Array,MTe=function(e,t){return new(function(e){var t;return gQ(e)&&(t=e.constructor,(wQ(t)&&(t===e1||gQ(t.prototype))||oZ(t)&&(t=t[jTe])===null)&&(t=void 0)),t===void 0?e1:t}(e))(t===0?0:t)},t1=$X([].push),n1=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=wZ(c),h=nZ(m),g=U$(l,u),_=cQ(h),v=0,y=d||MTe,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:t1(b,f)}else switch(e){case 4:return!1;case 7:t1(b,f)}return a?-1:r||i?i:b}},r1={forEach:n1(0),map:n1(1),filter:n1(2),some:n1(3),every:n1(4),find:n1(5),findIndex:n1(6),filterReject:n1(7)},i1=V$.getWeakData,NTe=eQ.set,PTe=eQ.getterFor,FTe=r1.find,ITe=r1.findIndex,LTe=$X([].splice),RTe=0,a1=function(e){return e.frozen||=new o1},o1=function(){this.entries=[]},s1=function(e,t){return FTe(e.entries,(function(e){return e[0]===t}))};o1.prototype={get:function(e){var t=s1(this,e);if(t)return t[1]},has:function(e){return!!s1(this,e)},set:function(e,t){var n=s1(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=ITe(this.entries,(function(t){return t[0]===e}));return~t&&LTe(this.entries,t,1),!!~t}};var c1,l1={getConstructor:function(e,t,n,r){var i=e((function(e,i){Y$(e,a),NTe(e,{type:t,id:RTe++,frozen:void 0}),i!=null&&J$(i,e[r],{that:e,AS_ENTRIES:n})})),a=i.prototype,o=PTe(t),s=function(e,t,n){var r=o(e),i=i1(LZ(t),!0);return!0===i?a1(r).set(t,n):i[r.id]=n,e};return F$(a,{delete:function(e){var t=o(this);if(!oZ(e))return!1;var n=i1(e);return!0===n?a1(t).delete(e):n&&TZ(n,t.id)&&delete n[t.id]},has:function(e){var t=o(this);if(!oZ(e))return!1;var n=i1(e);return!0===n?a1(t).has(e):n&&TZ(n,t.id)}}),F$(a,n?{get:function(e){var t=o(this);if(oZ(e)){var n=i1(e);return!0===n?a1(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),i}},u1=eQ.enforce,zTe=!X.ActiveXObject&&`ActiveXObject`in X,d1=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},BTe=function(e,t,n){var r=e.indexOf(`Map`)!==-1,i=e.indexOf(`Weak`)!==-1,a=r?`set`:`add`,o=X[e],s=o&&o.prototype,c=o,l={},u=function(e){var t=$X(s[e]);iQ(s,e,e==`add`?function(e){return t(this,e===0?0:e),this}:e==`delete`?function(e){return!(i&&!oZ(e))&&t(this,e===0?0:e)}:e==`get`?function(e){return i&&!oZ(e)?void 0:t(this,e===0?0:e)}:e==`has`?function(e){return!(i&&!oZ(e))&&t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(mQ(e,!aZ(o)||!(i||s.forEach&&!UX((function(){new o().entries().next()})))))c=n.getConstructor(t,e,r,a),V$.enable();else if(mQ(e,!0)){var d=new c,f=d[a](i?{}:-0,1)!=d,p=UX((function(){d.has(1)})),m=$$((function(e){new o(e)})),h=!i&&UX((function(){for(var e=new o,t=5;t--;)e[a](t,t);return!e.has(-0)}));m||((c=t((function(e,t){Y$(e,s);var n=function(e,t,n){var r,i;return k$&&aZ(r=t.constructor)&&r!==n&&oZ(i=r.prototype)&&i!==n.prototype&&k$(e,i),e}(new o,e,c);return t!=null&&J$(t,n[a],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=c),(p||h)&&(u(`delete`),u(`has`),r&&u(`get`)),(h||f)&&u(a),i&&s.clear&&delete s.clear}return l[e]=c,hQ({global:!0,forced:c!=o},l),O$(c,e),i||n.setStrong(c,e,r),c}(`WeakMap`,d1,l1);if(KZ&&zTe){c1=l1.getConstructor(d1,`WeakMap`,!0),V$.enable();var f1=BTe.prototype,p1=$X(f1.delete),m1=$X(f1.has),h1=$X(f1.get),g1=$X(f1.set);F$(f1,{delete:function(e){if(oZ(e)&&!B$(e)){var t=u1(this);return t.frozen||=new c1,p1(this,e)||t.frozen.delete(e)}return p1(this,e)},has:function(e){if(oZ(e)&&!B$(e)){var t=u1(this);return t.frozen||=new c1,m1(this,e)||t.frozen.has(e)}return m1(this,e)},get:function(e){if(oZ(e)&&!B$(e)){var t=u1(this);return t.frozen||=new c1,m1(this,e)?h1(this,e):t.frozen.get(e)}return h1(this,e)},set:function(e,t){if(oZ(e)&&!B$(e)){var n=u1(this);n.frozen||=new c1,m1(this,e)?g1(this,e,t):n.frozen.set(e,t)}else g1(this,e,t);return this}})}var _1={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},v1=NZ(`span`).classList,y1=v1&&v1.constructor&&v1.constructor.prototype,b1=y1===Object.prototype?void 0:y1,x1=AZ(`iterator`),S1=AZ(`toStringTag`),C1=P$.values,w1=function(e,t){if(e){if(e[x1]!==C1)try{BZ(e,x1,C1)}catch{e[x1]=C1}if(e[S1]||BZ(e,S1,t),_1[t]){for(var n in P$)if(e[n]!==P$[n])try{BZ(e,n,P$[n])}catch{e[n]=P$[n]}}}};for(var T1 in _1)w1(X[T1]&&X[T1].prototype,T1);w1(b1,`DOMTokenList`);var E1=function(e,t){var n=[][e];return!!n&&UX((function(){n.call(null,t||function(){throw 1},1)}))},VTe=r1.forEach,D1=E1(`forEach`)?[].forEach:function(e){return VTe(this,e,arguments.length>1?arguments[1]:void 0)},O1=function(e){if(e&&e.forEach!==D1)try{BZ(e,`forEach`,D1)}catch{e.forEach=D1}};for(var k1 in _1)_1[k1]&&O1(X[k1]&&X[k1].prototype);O1(b1);var A1,j1,M1,N1,P1=X.Promise,F1=AZ(`species`),I1=/(?:ipad|iphone|ipod).*applewebkit/i.test(lZ),L1=eZ(X.process)==`process`,R1=X.setImmediate,z1=X.clearImmediate,HTe=X.process,B1=X.Dispatch,UTe=X.Function,V1=X.MessageChannel,WTe=X.String,H1=0,U1={};try{A1=X.location}catch{}var W1=function(e){if(TZ(U1,e)){var t=U1[e];delete U1[e],t()}},G1=function(e){return function(){W1(e)}},K1=function(e){W1(e.data)},q1=function(e){X.postMessage(WTe(e),A1.protocol+`//`+A1.host)};R1&&z1||(R1=function(e){var t=EQ(arguments,1);return U1[++H1]=function(){$Q(aZ(e)?e:UTe(e),void 0,t)},j1(H1),H1},z1=function(e){delete U1[e]},L1?j1=function(e){HTe.nextTick(G1(e))}:B1&&B1.now?j1=function(e){B1.now(G1(e))}:V1&&!I1?(N1=(M1=new V1).port2,M1.port1.onmessage=K1,j1=U$(N1.postMessage,N1)):X.addEventListener&&aZ(X.postMessage)&&!X.importScripts&&A1&&A1.protocol!==`file:`&&!UX(q1)?(j1=q1,X.addEventListener(`message`,K1,!1)):j1=`onreadystatechange`in NZ(`script`)?function(e){PQ.appendChild(NZ(`script`)).onreadystatechange=function(){PQ.removeChild(this),W1(e)}}:function(e){setTimeout(G1(e),0)});var J1,Y1,X1,Z1,Q1,$1,e0,t0,n0={set:R1,clear:z1},GTe=/ipad|iphone|ipod/i.test(lZ)&&X.Pebble!==void 0,KTe=/web0s(?!.*chrome)/i.test(lZ),qTe=IZ.f,r0=n0.set,i0=X.MutationObserver||X.WebKitMutationObserver,a0=X.document,o0=X.process,s0=X.Promise,c0=qTe(X,`queueMicrotask`),l0=c0&&c0.value;l0||(J1=function(){var e,t;for(L1&&(e=o0.domain)&&e.exit();Y1;){t=Y1.fn,Y1=Y1.next;try{t()}catch(e){throw Y1?Z1():X1=void 0,e}}X1=void 0,e&&e.enter()},I1||L1||KTe||!i0||!a0?!GTe&&s0&&s0.resolve?((e0=s0.resolve(void 0)).constructor=s0,t0=U$(e0.then,e0),Z1=function(){t0(J1)}):L1?Z1=function(){o0.nextTick(J1)}:(r0=U$(r0,X),Z1=function(){r0(J1)}):(Q1=!0,$1=a0.createTextNode(``),new i0(J1).observe($1,{characterData:!0}),Z1=function(){$1.data=Q1=!Q1}));var u0,d0,f0,p0,m0=l0||function(e){var t={fn:e,next:void 0};X1&&(X1.next=t),Y1||(Y1=t,Z1()),X1=t},JTe=function(e){var t,n;this.promise=new e((function(e,r){if(t!==void 0||n!==void 0)throw TypeError(`Bad Promise constructor`);t=e,n=r})),this.resolve=yZ(t),this.reject=yZ(n)},h0={f:function(e){return new JTe(e)}},g0=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},YTe=typeof window==`object`,_0=n0.set,XTe=AZ(`species`),v0=`Promise`,y0=eQ.getterFor(v0),ZTe=eQ.set,QTe=eQ.getterFor(v0),b0=P1&&P1.prototype,x0=P1,S0=b0,C0=X.TypeError,w0=X.document,T0=X.process,E0=h0.f,$Te=E0,eEe=!!(w0&&w0.createEvent&&X.dispatchEvent),D0=aZ(X.PromiseRejectionEvent),O0=!1,k0=mQ(v0,(function(){var e=WZ(x0),t=e!==String(x0);if(!t&&mZ===66)return!0;if(mZ>=51&&/native code/.test(e))return!1;var n=new x0((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[XTe]=r,!(O0=n.then((function(){}))instanceof r)||!t&&YTe&&!D0})),tEe=k0||!$$((function(e){x0.all(e).catch((function(){}))})),A0=function(e){var t;return!(!oZ(e)||!aZ(t=e.then))&&t},j0=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;m0((function(){for(var r=e.value,i=e.state==1,a=0;n.length>a;){var o,s,c,l=n[a++],u=i?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{u?(i||(e.rejection===2&&rEe(e),e.rejection=1),!0===u?o=r:(p&&p.enter(),o=u(r),p&&(p.exit(),c=!0)),o===l.promise?f(C0(`Promise-chain cycle`)):(s=A0(o))?KX(s,o,d,f):d(o)):f(r)}catch(e){p&&!c&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&nEe(e)}))}},M0=function(e,t,n){var r,i;eEe?((r=w0.createEvent(`Event`)).promise=t,r.reason=n,r.initEvent(e,!1,!0),X.dispatchEvent(r)):r={promise:t,reason:n},!D0&&(i=X[`on`+e])?i(r):e===`unhandledrejection`&&function(e,t){var n=X.console;n&&n.error&&(arguments.length==1?n.error(e):n.error(e,t))}(`Unhandled promise rejection`,n)},nEe=function(e){KX(_0,X,(function(){var t,n=e.facade,r=e.value;if(N0(e)&&(t=g0((function(){L1?T0.emit(`unhandledRejection`,r,n):M0(`unhandledrejection`,n,r)})),e.rejection=L1||N0(e)?2:1,t.error))throw t.value}))},N0=function(e){return e.rejection!==1&&!e.parent},rEe=function(e){KX(_0,X,(function(){var t=e.facade;L1?T0.emit(`rejectionHandled`,t):M0(`rejectionhandled`,t,e.value)}))},P0=function(e,t,n){return function(r){e(t,r,n)}},F0=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,j0(e,!0))},I0=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw C0(`Promise can't be resolved itself`);var r=A0(t);r?m0((function(){var n={done:!1};try{KX(r,t,P0(I0,n,e),P0(F0,n,e))}catch(t){F0(n,t,e)}})):(e.value=t,e.state=1,j0(e,!1))}catch(t){F0({done:!1},t,e)}}};if(k0&&(S0=(x0=function(e){Y$(this,S0),yZ(e),KX(u0,this);var t=y0(this);try{e(P0(I0,t),P0(F0,t))}catch(e){F0(t,e)}}).prototype,(u0=function(e){ZTe(this,{type:v0,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=F$(S0,{then:function(e,t){var n=QTe(this),r=n.reactions,i=E0(t$(this,x0));return i.ok=!aZ(e)||e,i.fail=aZ(t)&&t,i.domain=L1?T0.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&j0(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),d0=function(){var e=new u0,t=y0(e);this.promise=e,this.resolve=P0(I0,t),this.reject=P0(F0,t)},h0.f=E0=function(e){return e===x0||e===f0?new d0(e):$Te(e)},aZ(P1)&&b0!==Object.prototype)){p0=b0.then,O0||(iQ(b0,`then`,(function(e,t){var n=this;return new x0((function(e,t){KX(p0,n,e,t)})).then(e,t)}),{unsafe:!0}),iQ(b0,`catch`,S0.catch,{unsafe:!0}));try{delete b0.constructor}catch{}k$&&k$(b0,S0)}hQ({global:!0,wrap:!0,forced:k0},{Promise:x0}),O$(x0,v0,!1),function(e){var t=sZ(`Promise`),n=zZ.f;WX&&t&&!t[F1]&&n(t,F1,{configurable:!0,get:function(){return this}})}(),f0=sZ(v0),hQ({target:v0,stat:!0,forced:k0},{reject:function(e){var t=E0(this);return KX(t.reject,void 0,e),t.promise}}),hQ({target:v0,stat:!0,forced:k0},{resolve:function(e){return function(e,t){if(LZ(e),oZ(t)&&t.constructor===e)return t;var n=h0.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),hQ({target:v0,stat:!0,forced:tEe},{all:function(e){var t=this,n=E0(t),r=n.resolve,i=n.reject,a=g0((function(){var n=yZ(t.resolve),a=[],o=0,s=1;J$(e,(function(e){var c=o++,l=!1;s++,KX(n,t,e).then((function(e){l||(l=!0,a[c]=e,--s||r(a))}),i)})),--s||r(a)}));return a.error&&i(a.value),n.promise},race:function(e){var t=this,n=E0(t),r=n.reject,i=g0((function(){var i=yZ(t.resolve);J$(e,(function(e){KX(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var iEe=rQ.PROPER,L0=RegExp.prototype,R0=L0.toString,aEe=$X(AQ),oEe=UX((function(){return R0.call({source:`a`,flags:`b`})!=`/a/b`})),sEe=iEe&&R0.name!=`toString`;(oEe||sEe)&&iQ(RegExp.prototype,`toString`,(function(){var e=LZ(this),t=kQ(e.source),n=e.flags;return`/`+t+`/`+kQ(n===void 0&&cZ(L0,e)&&!(`flags`in L0)?aEe(e):n)}),{unsafe:!0});var cEe=rQ.EXISTS,lEe=zZ.f,z0=Function.prototype,uEe=$X(z0.toString),B0=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,dEe=$X(B0.exec);WX&&!cEe&&lEe(z0,`name`,{configurable:!0,get:function(){try{return dEe(B0,uEe(this))[1]}catch{return``}}});var V0=new WeakMap;function H0(e){return e.getMenuConfig(`uploadImage`)}function fEe(e,t){return f$(this,void 0,void 0,(function(){return p$(this,(function(n){return[2,new Promise((function(n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(){var i=r.result;if(i){var a=i.toString(),o=a.indexOf(`data:image`)===0?``:a;MM(e,a,t.name,o),n(`ok`)}}}))]}))}))}function pEe(e,t){return f$(this,void 0,void 0,(function(){var n,r,i,a;return p$(this,(function(o){switch(o.label){case 0:return n=function(e){var t=V0.get(e);if(t!=null)return t;var n=H0(e),r=n.onSuccess,i=n.onProgress,a=n.onFailed,o=n.customInsert,s=n.onError;return t=bE(d$(d$({},n),{onProgress:function(t){e.showProgressBar(t),i&&i(t)},onSuccess:function(t,n){if(o)return o(n,(function(t,n,r){return MM(e,t,n,r)})),void r(t,n);var i=n.errno,s=i===void 0?1:i,c=n.data,l=c===void 0?{}:c;if(s===0){if(Array.isArray(l))l.forEach((function(t){var n=t.url,r=n===void 0?``:n,i=t.alt,a=i===void 0?``:i,o=t.href;MM(e,r,a,o===void 0?``:o)}));else{var u=l.url,d=u===void 0?``:u,f=l.alt,p=f===void 0?``:f,m=l.href;MM(e,d,p,m===void 0?``:m)}r(t,n)}else a(t,n)},onError:function(e,t,n){s(e,t,n)}})),V0.set(e,t),t}(e),r=t.name,i=t.type,a=t.size,n.addFile({name:r,type:i,size:a,data:t}),[4,n.upload()];case 1:return o.sent(),[2]}}))}))}function U0(e,t){var n,r;return f$(this,void 0,void 0,(function(){var i,a,o,s,c,l,u,d,f;return p$(this,(function(p){switch(p.label){case 0:if(t==null)return[2];i=Array.prototype.slice.call(t),a=H0(e),o=a.customUpload,s=a.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),c=oTe(i),p.label=2;case 2:return[4,c.next()];case 3:return(l=p.sent()).done?[3,10]:(u=l.value,d=u.size,s&&d<=s?[4,fEe(e,u)]:[3,5]);case 4:return p.sent(),[3,9];case 5:return o?[4,o(u,(function(t,n,r){return MM(e,t,n,r)}))]:[3,7];case 6:return p.sent(),[3,9];case 7:return[4,pEe(e,u)];case 8:p.sent(),p.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return f=p.sent(),n={error:f},[3,17];case 12:return p.trys.push([12,,15,16]),l&&!l.done&&(r=c.return)?[4,r.call(c)]:[3,14];case 13:p.sent(),p.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}}))}))}var mEe=$X([].join),hEe=nZ!=Object,gEe=E1(`join`,`,`);hQ({target:`Array`,proto:!0,forced:hEe||!gEe},{join:function(e){return mEe(iZ(this),e===void 0?`,`:e)}}),Rp&&(B.fn.append=Rp),Tp&&(B.fn.on=Tp),Wp&&(B.fn.remove=Wp),wp&&(B.fn.val=wp),qp&&(B.fn.click=qp),Ap&&(B.fn.hide=Ap);var _Ee=function(){function e(){this.title=K(`uploadImgModule.uploadImage`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>`,this.tag=`button`}return e.prototype.getValue=function(e){return``},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return NM(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig(`uploadImage`)},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,i=r===void 0?[]:r,a=n.customBrowseAndUpload;if(a)a((function(t,n,r){return MM(e,t,n,r)}));else{var o=``;i.length>0&&(o=`accept="`+i.join(`, `)+`"`);var s=B(`body`),c=B(`<input type="file" `+o+` multiple/>`);c.hide(),s.append(c),c.click(),c.on(`change`,(function(){var t=c[0].files;U0(e,t)}))}},e}(),vEe={menus:[{key:`uploadImage`,factory:function(){return new _Ee},config:{server:``,fieldName:`wangeditor-uploaded-image`,maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:[`image/*`],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error(`'`+e.name+`' upload failed`,t)},onError:function(e,t,n){console.error(`'`+e.name+`' upload error`,n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(NM(n))t(r);else if(r.getData(`text/plain`))t(r);else{var i=r.files;i.length<=0?t(r):Array.prototype.slice.call(i).some((function(e){return function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}(e.type.split(`/`),1)[0]===`image`}))?U0(e,i):t(r)}},n}};aD(`en`,{highLightModule:{selectLang:`Language`}}),aD(`zh-CN`,{highLightModule:{selectLang:`选择语言`}});var W0=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function G0(e){var t={exports:{}};return e(t,t.exports),t.exports}var K0,q0,J0=function(e){return e&&e.Math==Math&&e},Y0=J0(typeof globalThis==`object`&&globalThis)||J0(typeof window==`object`&&window)||J0(typeof self==`object`&&self)||J0(typeof W0==`object`&&W0)||function(){return this}()||Function(`return this`)(),yEe=Object.defineProperty,X0=function(e,t){try{yEe(Y0,e,{value:t,configurable:!0,writable:!0})}catch{Y0[e]=t}return t},Z0=Y0[`__core-js_shared__`]||X0(`__core-js_shared__`,{}),Q0=G0((function(e){(e.exports=function(e,t){return Z0[e]||(Z0[e]=t===void 0?{}:t)})(`versions`,[]).push({version:`3.19.3`,mode:`global`,copyright:`© 2021 Denis Pushkarev (zloirock.ru)`})})),$0=Function.prototype,e2=$0.bind,t2=$0.call,bEe=e2&&e2.bind(t2),n2=e2?function(e){return e&&bEe(t2,e)}:function(e){return e&&function(){return t2.apply(e,arguments)}},xEe=Y0.TypeError,r2=function(e){if(e==null)throw xEe(`Can't call method on `+e);return e},SEe=Y0.Object,i2=function(e){return SEe(r2(e))},CEe=n2({}.hasOwnProperty),a2=Object.hasOwn||function(e,t){return CEe(i2(e),t)},wEe=0,TEe=Math.random(),EEe=n2(1 .toString),o2=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+EEe(++wEe+TEe,36)},s2=function(e){return typeof e==`function`},DEe=function(e){return s2(e)?e:void 0},c2=function(e,t){return arguments.length<2?DEe(Y0[e]):Y0[e]&&Y0[e][t]},l2=c2(`navigator`,`userAgent`)||``,u2=Y0.process,d2=Y0.Deno,f2=u2&&u2.versions||d2&&d2.version,p2=f2&&f2.v8;p2&&(q0=(K0=p2.split(`.`))[0]>0&&K0[0]<4?1:+(K0[0]+K0[1])),!q0&&l2&&(!(K0=l2.match(/Edge\/(\d+)/))||K0[1]>=74)&&(K0=l2.match(/Chrome\/(\d+)/))&&(q0=+K0[1]);var m2=q0,h2=function(e){try{return!!e()}catch{return!0}},g2=!!Object.getOwnPropertySymbols&&!h2((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&m2&&m2<41})),_2=g2&&!Symbol.sham&&typeof Symbol.iterator==`symbol`,v2=Q0(`wks`),y2=Y0.Symbol,b2=y2&&y2.for,OEe=_2?y2:y2&&y2.withoutSetter||o2,x2=function(e){if(!a2(v2,e)||!g2&&typeof v2[e]!=`string`){var t=`Symbol.`+e;g2&&a2(y2,e)?v2[e]=y2[e]:v2[e]=_2&&b2?b2(t):OEe(t)}return v2[e]},S2={};S2[x2(`toStringTag`)]=`z`;var C2=String(S2)===`[object z]`,w2=!h2((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),T2=function(e){return typeof e==`object`?e!==null:s2(e)},E2=Y0.document,kEe=T2(E2)&&T2(E2.createElement),D2=function(e){return kEe?E2.createElement(e):{}},O2=!w2&&!h2((function(){return Object.defineProperty(D2(`div`),`a`,{get:function(){return 7}}).a!=7})),AEe=Y0.String,jEe=Y0.TypeError,k2=function(e){if(T2(e))return e;throw jEe(AEe(e)+` is not an object`)},A2=Function.prototype.call,j2=A2.bind?A2.bind(A2):function(){return A2.apply(A2,arguments)},M2=n2({}.isPrototypeOf),MEe=Y0.Object,N2=_2?function(e){return typeof e==`symbol`}:function(e){var t=c2(`Symbol`);return s2(t)&&M2(t.prototype,MEe(e))},NEe=Y0.String,P2=function(e){try{return NEe(e)}catch{return`Object`}},PEe=Y0.TypeError,F2=function(e){if(s2(e))return e;throw PEe(P2(e)+` is not a function`)},I2=function(e,t){var n=e[t];return n==null?void 0:F2(n)},FEe=Y0.TypeError,IEe=Y0.TypeError,LEe=x2(`toPrimitive`),L2=function(e){var t=function(e,t){if(!T2(e)||N2(e))return e;var n,r=I2(e,LEe);if(r){if(t===void 0&&(t=`default`),n=j2(r,e,t),!T2(n)||N2(n))return n;throw IEe(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),function(e,t){var n,r;if(t===`string`&&s2(n=e.toString)&&!T2(r=j2(n,e))||s2(n=e.valueOf)&&!T2(r=j2(n,e))||t!==`string`&&s2(n=e.toString)&&!T2(r=j2(n,e)))return r;throw FEe(`Can't convert object to primitive value`)}(e,t)}(e,`string`);return N2(t)?t:t+``},REe=Y0.TypeError,R2=Object.defineProperty,z2={f:w2?R2:function(e,t,n){if(k2(e),t=L2(t),k2(n),O2)try{return R2(e,t,n)}catch{}if(`get`in n||`set`in n)throw REe(`Accessors not supported`);return`value`in n&&(e[t]=n.value),e}},B2=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},V2=w2?function(e,t,n){return z2.f(e,t,B2(1,n))}:function(e,t,n){return e[t]=n,e},zEe=n2(Function.toString);s2(Z0.inspectSource)||(Z0.inspectSource=function(e){return zEe(e)});var H2,U2,W2,G2=Z0.inspectSource,K2=Y0.WeakMap,BEe=s2(K2)&&/native code/.test(G2(K2)),q2=Q0(`keys`),J2=function(e){return q2[e]||(q2[e]=o2(e))},Y2={},X2=Y0.TypeError,VEe=Y0.WeakMap;if(BEe||Z0.state){var Z2=Z0.state||=new VEe,HEe=n2(Z2.get),Q2=n2(Z2.has),UEe=n2(Z2.set);H2=function(e,t){if(Q2(Z2,e))throw new X2(`Object already initialized`);return t.facade=e,UEe(Z2,e,t),t},U2=function(e){return HEe(Z2,e)||{}},W2=function(e){return Q2(Z2,e)}}else{var $2=J2(`state`);Y2[$2]=!0,H2=function(e,t){if(a2(e,$2))throw new X2(`Object already initialized`);return t.facade=e,V2(e,$2,t),t},U2=function(e){return a2(e,$2)?e[$2]:{}},W2=function(e){return a2(e,$2)}}var e4={set:H2,get:U2,has:W2,enforce:function(e){return W2(e)?U2(e):H2(e,{})},getterFor:function(e){return function(t){var n;if(!T2(t)||(n=U2(t)).type!==e)throw X2(`Incompatible receiver, `+e+` required`);return n}}},t4=Function.prototype,WEe=w2&&Object.getOwnPropertyDescriptor,n4=a2(t4,`name`),r4={EXISTS:n4,PROPER:n4&&function(){}.name===`something`,CONFIGURABLE:n4&&(!w2||w2&&WEe(t4,`name`).configurable)},i4=G0((function(e){var t=r4.CONFIGURABLE,n=e4.get,r=e4.enforce,i=String(String).split(`String`);(e.exports=function(e,n,a,o){var s,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet,d=o&&o.name!==void 0?o.name:n;s2(a)&&(String(d).slice(0,7)===`Symbol(`&&(d=`[`+String(d).replace(/^Symbol\(([^)]*)\)/,`$1`)+`]`),(!a2(a,`name`)||t&&a.name!==d)&&V2(a,`name`,d),(s=r(a)).source||(s.source=i.join(typeof d==`string`?d:``))),e===Y0?l?e[n]=a:X0(n,a):(c?!u&&e[n]&&(l=!0):delete e[n],l?e[n]=a:V2(e,n,a))})(Function.prototype,`toString`,(function(){return s2(this)&&n(this).source||G2(this)}))})),GEe=n2({}.toString),KEe=n2(``.slice),a4=function(e){return KEe(GEe(e),8,-1)},qEe=x2(`toStringTag`),JEe=Y0.Object,YEe=a4(function(){return arguments}())==`Arguments`,o4=C2?a4:function(e){var t,n,r;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=function(e,t){try{return e[t]}catch{}}(t=JEe(e),qEe))==`string`?n:YEe?a4(t):(r=a4(t))==`Object`&&s2(t.callee)?`Arguments`:r},XEe=C2?{}.toString:function(){return`[object `+o4(this)+`]`};C2||i4(Object.prototype,`toString`,XEe,{unsafe:!0});var s4,c4={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},l4=D2(`span`).classList,u4=l4&&l4.constructor&&l4.constructor.prototype,ZEe=u4===Object.prototype?void 0:u4,d4=n2(n2.bind),f4=Y0.Object,QEe=n2(``.split),p4=h2((function(){return!f4(`z`).propertyIsEnumerable(0)}))?function(e){return a4(e)==`String`?QEe(e,``):f4(e)}:f4,$Ee=Math.ceil,eDe=Math.floor,m4=function(e){var t=+e;return t!=t||t===0?0:(t>0?eDe:$Ee)(t)},tDe=Math.min,h4=function(e){return e>0?tDe(m4(e),9007199254740991):0},g4=function(e){return h4(e.length)},_4=Array.isArray||function(e){return a4(e)==`Array`},v4=function(){},nDe=[],y4=c2(`Reflect`,`construct`),b4=/^\s*(?:class|function)\b/,rDe=n2(b4.exec),iDe=!b4.exec(v4),x4=function(e){if(!s2(e))return!1;try{return y4(v4,nDe,e),!0}catch{return!1}},S4=!y4||h2((function(){var e;return x4(x4.call)||!x4(Object)||!x4((function(){e=!0}))||e}))?function(e){if(!s2(e))return!1;switch(o4(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}return iDe||!!rDe(b4,G2(e))}:x4,aDe=x2(`species`),C4=Y0.Array,oDe=function(e,t){return new(function(e){var t;return _4(e)&&(t=e.constructor,(S4(t)&&(t===C4||_4(t.prototype))||T2(t)&&(t=t[aDe])===null)&&(t=void 0)),t===void 0?C4:t}(e))(t===0?0:t)},w4=n2([].push),T4=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,a=e==6,o=e==7,s=e==5||a;return function(c,l,u,d){for(var f,p,m=i2(c),h=p4(m),g=function(e,t){return F2(e),t===void 0?e:d4?d4(e,t):function(){return e.apply(t,arguments)}}(l,u),_=g4(h),v=0,y=d||oDe,b=t?y(c,_):n||o?y(c,0):void 0;_>v;v++)if((s||v in h)&&(p=g(f=h[v],v,m),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return v;case 2:w4(b,f)}else switch(e){case 4:return!1;case 7:w4(b,f)}return a?-1:r||i?i:b}},sDe=[T4(0),T4(1),T4(2),T4(3),T4(4),T4(5),T4(6),T4(7)][0],E4=(s4=[].forEach)&&h2((function(){s4.call(null,(function(){throw 1}),1)}))?[].forEach:function(e){return sDe(this,e,arguments.length>1?arguments[1]:void 0)},D4=function(e){if(e&&e.forEach!==E4)try{V2(e,`forEach`,E4)}catch{e.forEach=E4}};for(var O4 in c4)c4[O4]&&D4(Y0[O4]&&Y0[O4].prototype);D4(ZEe);var k4={}.propertyIsEnumerable,A4=Object.getOwnPropertyDescriptor,j4={f:A4&&!k4.call({1:2},1)?function(e){var t=A4(this,e);return!!t&&t.enumerable}:k4},M4=function(e){return p4(r2(e))},N4=Object.getOwnPropertyDescriptor,P4={f:w2?N4:function(e,t){if(e=M4(e),t=L2(t),O2)try{return N4(e,t)}catch{}if(a2(e,t))return B2(!j2(j4.f,e,t),e[t])}},cDe=Math.max,lDe=Math.min,F4=function(e,t){var n=m4(e);return n<0?cDe(n+t,0):lDe(n,t)},uDe=function(e){return function(t,n,r){var i,a=M4(t),o=g4(a),s=F4(r,o);if(e&&n!=n){for(;o>s;)if((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}}(!1),I4=n2([].push),L4=function(e,t){var n,r=M4(e),i=0,a=[];for(n in r)!a2(Y2,n)&&a2(r,n)&&I4(a,n);for(;t.length>i;)a2(r,n=t[i++])&&(~uDe(a,n)||I4(a,n));return a},R4=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`],dDe=R4.concat(`length`,`prototype`),fDe={f:Object.getOwnPropertyNames||function(e){return L4(e,dDe)}},z4={f:Object.getOwnPropertySymbols},pDe=n2([].concat),mDe=c2(`Reflect`,`ownKeys`)||function(e){var t=fDe.f(k2(e)),n=z4.f;return n?pDe(t,n(e)):t},hDe=function(e,t){for(var n=mDe(t),r=z2.f,i=P4.f,a=0;a<n.length;a++){var o=n[a];a2(e,o)||r(e,o,i(t,o))}},gDe=/#|\.prototype\./,B4=function(e,t){var n=vDe[_De(e)];return n==bDe||n!=yDe&&(s2(t)?h2(t):!!t)},_De=B4.normalize=function(e){return String(e).replace(gDe,`.`).toLowerCase()},vDe=B4.data={},yDe=B4.NATIVE=`N`,bDe=B4.POLYFILL=`P`,xDe=B4,SDe=P4.f,V4=function(e,t){var n,r,i,a,o,s=e.target,c=e.global,l=e.stat;if(n=c?Y0:l?Y0[s]||X0(s,{}):(Y0[s]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(o=SDe(n,r))&&o.value:n[r],!xDe(c?r:s+(l?`.`:`#`)+r,e.forced)&&i!==void 0){if(typeof a==typeof i)continue;hDe(a,i)}(e.sham||i&&i.sham)&&V2(a,`sham`,!0),i4(n,r,a,e)}},H4=Object.keys||function(e){return L4(e,R4)},U4=Object.assign,W4=Object.defineProperty,CDe=n2([].concat),G4=!U4||h2((function(){if(w2&&U4({b:1},U4(W4({},`a`,{enumerable:!0,get:function(){W4(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r=`abcdefghijklmnopqrst`;return e[n]=7,r.split(``).forEach((function(e){t[e]=e})),U4({},e)[n]!=7||H4(U4({},t)).join(``)!=r}))?function(e,t){for(var n=i2(e),r=arguments.length,i=1,a=z4.f,o=j4.f;r>i;)for(var s,c=p4(arguments[i++]),l=a?CDe(H4(c),a(c)):H4(c),u=l.length,d=0;u>d;)s=l[d++],w2&&!j2(o,c,s)||(n[s]=c[s]);return n}:U4;V4({target:`Object`,stat:!0,forced:Object.assign!==G4},{assign:G4});var K4=G0((function(e){var t=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/\u00a0/g,` `)},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,`__id`,{value:++n}),e.__id},clone:function e(t,n){var r,a;switch(n||={},i.util.type(t)){case`Object`:if(a=i.util.objId(t),n[a])return n[a];for(var o in r={},n[a]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case`Array`:return a=i.util.objId(t),n[a]?n[a]:(r=[],n[a]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,`none`])[1].toLowerCase():`none`},currentScript:function(){if(typeof document>`u`)return null;if(`currentScript`in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName(`script`);for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r=`no-`+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var a=(r||=i.languages)[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(o[c]=n[c]);n.hasOwnProperty(s)||(o[s]=a[s])}var l=r[e];return r[e]=o,i.languages.DFS(i.languages,(function(t,n){n===l&&t!=e&&(this[t]=o)})),o},DFS:function e(t,n,r,a){a||={};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var c=t[s],l=i.util.type(c);l!==`Object`||a[o(c)]?l!==`Array`||a[o(c)]||(a[o(c)]=!0,e(c,n,s,a)):(a[o(c)]=!0,e(c,n,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:`code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code`};i.hooks.run(`before-highlightall`,r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run(`before-all-elements-highlight`,r);for(var a,o=0;a=r.elements[o++];)i.highlightElement(a,!0===t,r.callback)},highlightElement:function(n,r,a){var o=i.util.getLanguage(n),s=i.languages[o];n.className=n.className.replace(t,``).replace(/\s+/g,` `)+` language-`+o;var c=n.parentElement;c&&c.nodeName.toLowerCase()===`pre`&&(c.className=c.className.replace(t,``).replace(/\s+/g,` `)+` language-`+o);var l={element:n,language:o,grammar:s,code:n.textContent};function u(e){l.highlightedCode=e,i.hooks.run(`before-insert`,l),l.element.innerHTML=l.highlightedCode,i.hooks.run(`after-highlight`,l),i.hooks.run(`complete`,l),a&&a.call(l.element)}if(i.hooks.run(`before-sanity-check`,l),(c=l.element.parentElement)&&c.nodeName.toLowerCase()===`pre`&&!c.hasAttribute(`tabindex`)&&c.setAttribute(`tabindex`,`0`),!l.code)return i.hooks.run(`complete`,l),void(a&&a.call(l.element));if(i.hooks.run(`before-highlight`,l),l.grammar)if(r&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else u(i.highlight(l.code,l.grammar,l.language));else u(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return i.hooks.run(`before-tokenize`,r),r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run(`after-tokenize`,r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new c;return l(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||``).length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(e,t,n,r,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+`,`+m)return;var h=p[m],g=h.inside,_=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+`g`)}for(var x=h.pattern||h,S=r.next,C=c;S!==t.tail&&!(d&&C>=d.reach);C+=S.value.length,S=S.next){var w=S.value;if(t.length>e.length)return;if(!(w instanceof a)){var T,E=1;if(v){if(!(T=o(x,C,e,_)))break;var D=T.index,O=T.index+T[0].length,ee=C;for(ee+=S.value.length;D>=ee;)ee+=(S=S.next).value.length;if(C=ee-=S.value.length,S.value instanceof a)continue;for(var k=S;k!==t.tail&&(ee<O||typeof k.value==`string`);k=k.next)E++,ee+=k.value.length;E--,w=e.slice(C,ee),T.index-=C}else if(!(T=o(x,0,w,_)))continue;D=T.index;var te=T[0],A=w.slice(0,D),ne=w.slice(D+te.length),re=C+w.length;d&&re>d.reach&&(d.reach=re);var ie=S.prev;if(A&&(ie=l(t,ie,A),C+=A.length),u(t,ie,E),S=l(t,ie,new a(f,g?i.tokenize(te,g):te,y,te)),ne&&l(t,S,ne),E>1){var ae={cause:f+`,`+m,reach:re};s(e,t,n,S.prev,C,ae),d&&ae.reach>d.reach&&(d.reach=ae.reach)}}}}}}function c(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,a.stringify=function e(t,n){if(typeof t==`string`)return t;if(Array.isArray(t)){var r=``;return t.forEach((function(t){r+=e(t,n)})),r}var a={type:t.type,content:e(t.content,n),tag:`span`,classes:[`token`,t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run(`wrap`,a);var s=``;for(var c in a.attributes)s+=` `+c+`="`+(a.attributes[c]||``).replace(/"/g,`&quot;`)+`"`;return`<`+a.tag+` class="`+a.classes.join(` `)+`"`+s+`>`+a.content+`</`+a.tag+`>`},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener(`message`,(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()}),!1)),i;var d=i.util.currentScript();function f(){i.manual||i.highlightAll()}if(d&&(i.filename=d.src,d.hasAttribute(`data-manual`)&&(i.manual=!0)),!i.manual){var p=document.readyState;p===`loading`||p===`interactive`&&d&&d.defer?document.addEventListener(`DOMContentLoaded`,f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return i}(typeof window<`u`?window:typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope?self:{});e.exports&&=t,W0!==void 0&&(W0.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:`named-entity`},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside[`attr-value`].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside[`internal-subset`].inside=t.languages.markup,t.hooks.add(`wrap`,(function(e){e.type===`entity`&&(e.attributes.title=e.content.replace(/&amp;/,`&`))})),Object.defineProperty(t.languages.markup.tag,`addInlined`,{value:function(e,n){var r={};r[`language-`+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i[`language-`+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var a={};a[e]={pattern:RegExp(`(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)`.replace(/__/g,(function(){return e})),`i`),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore(`markup`,`cdata`,a)}}),Object.defineProperty(t.languages.markup.tag,`addAttribute`,{value:function(e,n){t.languages.markup.tag.inside[`special-attr`].push({pattern:RegExp(`(^|["'\\s])(?:`+e+`)\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s'">=]+(?=[\\s>]))`,`i`),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,`language-`+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend(`markup`,{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:`selector`},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp(`\\burl\\((?:`+t.source+`|(?:[^\\\\\\r\\n()"']|\\\\[\\s\\S])*)\\)`,`i`),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp(`^`+t.source+`$`),alias:`url`}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+`)*(?=\\s*\\{)`),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined(`style`,`css`),n.tag.addAttribute(`style`,`css`))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend(`clike`,{"class-name":[t.languages.clike[`class-name`],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript[`class-name`][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore(`javascript`,`keyword`,{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:`language-regex`,inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:`function`},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore(`javascript`,`string`,{hashbang:{pattern:/^#!.*/,greedy:!0,alias:`comment`},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:`string`},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:`punctuation`},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined(`script`,`javascript`),t.languages.markup.tag.addAttribute(`on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)`,`javascript`)),t.languages.js=t.languages.javascript,function(){if(t!==void 0&&typeof document<`u`){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:`javascript`,py:`python`,rb:`ruby`,ps1:`powershell`,psm1:`powershell`,sh:`bash`,bat:`batch`,h:`c`,tex:`latex`},n=`data-src-status`,r=`pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])`,i=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add(`before-highlightall`,(function(e){e.selector+=`, `+r})),t.hooks.add(`before-sanity-check`,(function(i){var a=i.element;if(a.matches(r)){i.code=``,a.setAttribute(n,`loading`);var s=a.appendChild(document.createElement(`CODE`));s.textContent=`Loading…`;var c=a.getAttribute(`data-src`),l=i.language;if(l===`none`){var u=(/\.(\w+)$/.exec(c)||[,`none`])[1];l=e[u]||u}o(s,l),o(a,l);var d=t.plugins.autoloader;d&&d.loadLanguages(l);var f=new XMLHttpRequest;f.open(`GET`,c,!0),f.onreadystatechange=function(){f.readyState==4&&(f.status<400&&f.responseText?(a.setAttribute(n,`loaded`),s.textContent=f.responseText,t.highlightElement(s)):(a.setAttribute(n,`failed`),f.status>=400?s.textContent=`✖ Error `+f.status+` while fetching file: `+f.statusText:s.textContent=`✖ Error: File does not exist or is empty`))},f.send(null)}})),t.plugins.fileHighlight={highlight:function(e){for(var n,i=(e||document).querySelectorAll(r),a=0;n=i[a++];)t.highlightElement(n)}};var a=!1;t.fileHighlight=function(){a||=(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function o(e,t){var n=e.className;n=n.replace(i,` `)+` language-`+t,e.className=n.replace(/\s+/g,` `).trim()}}()}));(function(e){var t=e.util.clone(e.languages.javascript),n=`(?:\\s|\\/\\/.*(?!.)|\\/\\*(?:[^*]|\\*(?!\\/))\\*\\/)`,r=`(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})`,i=`(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})`;function a(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return i})),RegExp(e,t)}i=a(i).source,e.languages.jsx=e.languages.extend(`markup`,t),e.languages.jsx.tag.pattern=a(`<\\/?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:"(?:\\\\[\\s\\S]|[^\\\\"])*"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\\/?)?>`),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside[`attr-value`].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside[`class-name`]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore(`inside`,`attr-name`,{spread:{pattern:a(`<SPREAD>`),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore(`inside`,`special-attr`,{script:{pattern:a(`=<BRACES>`),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:`punctuation`},rest:e.languages.jsx},alias:`language-javascript`}},e.languages.jsx.tag);var o=function(e){return e?typeof e==`string`?e:typeof e.content==`string`?e.content:e.content.map(o).join(``):``},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],a=!1;if(typeof i!=`string`&&(i.type===`tag`&&i.content[0]&&i.content[0].type===`tag`?i.content[0].content[0].content===`</`?n.length>0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():i.content[i.content.length-1].content===`/>`||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&i.type===`punctuation`&&i.content===`{`?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&i.type===`punctuation`&&i.content===`}`?n[n.length-1].openedBraces--:a=!0),(a||typeof i==`string`)&&n.length>0&&n[n.length-1].openedBraces===0){var c=o(i);r<t.length-1&&(typeof t[r+1]==`string`||t[r+1].type===`plain-text`)&&(c+=o(t[r+1]),t.splice(r+1,1)),r>0&&(typeof t[r-1]==`string`||t[r-1].type===`plain-text`)&&(c=o(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token(`plain-text`,c,null,c)}i.content&&typeof i.content!=`string`&&s(i.content)}};e.hooks.add(`after-tokenize`,(function(e){e.language!==`jsx`&&e.language!==`tsx`||s(e.tokens)}))})(Prism),function(e){e.languages.typescript=e.languages.extend(`javascript`,{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend(`typescript`,{});delete t[`class-name`],e.languages.typescript[`class-name`].inside=t,e.languages.insertBefore(`typescript`,`function`,{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:`operator`},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:`class-name`,inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:`named-entity`},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside[`attr-value`].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside[`internal-subset`].inside=Prism.languages.markup,Prism.hooks.add(`wrap`,(function(e){e.type===`entity`&&(e.attributes.title=e.content.replace(/&amp;/,`&`))})),Object.defineProperty(Prism.languages.markup.tag,`addInlined`,{value:function(e,t){var n={};n[`language-`+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r[`language-`+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(`(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)`.replace(/__/g,(function(){return e})),`i`),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore(`markup`,`cdata`,i)}}),Object.defineProperty(Prism.languages.markup.tag,`addAttribute`,{value:function(e,t){Prism.languages.markup.tag.inside[`special-attr`].push({pattern:RegExp(`(^|["'\\s])(?:`+e+`)\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s'">=]+(?=[\\s>]))`,`i`),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,`language-`+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:`attr-equals`},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend(`markup`,{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend(`clike`,{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go[`class-name`],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:`boolean`},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:`important`},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:`class-name`},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:`function`},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:`type-casting`,greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:`type-hint`,greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:`type-hint`,greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:`return-type`,greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:`return-type`,greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:`type-declaration`,greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:`type-declaration`,greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:`static-context`,greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:`class-name-fully-qualified`,greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:`class-name-fully-qualified`,greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:`class-name-fully-qualified`,greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:`type-declaration`,greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:[`class-name-fully-qualified`,`type-declaration`],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:`static-context`,greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:[`class-name-fully-qualified`,`static-context`],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:`type-hint`,greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:[`class-name-fully-qualified`,`type-hint`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:`return-type`,greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:[`class-name-fully-qualified`,`return-type`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:`nowdoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:`symbol`,inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:`symbol`,inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:`backtick-quoted-string`,greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:`single-quoted-string`,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:`double-quoted-string`,greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore(`php`,`variable`,{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:`class-name`,greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:[`class-name`,`class-name-fully-qualified`],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:`punctuation`}}}}),e.hooks.add(`before-tokenize`,(function(t){/<\?/.test(t.code)&&e.languages[`markup-templating`].buildPlaceholders(t,`php`,/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)})),e.hooks.add(`after-tokenize`,(function(t){e.languages[`markup-templating`].tokenizePlaceholders(t,`php`)}))}(Prism),Prism.languages.c=Prism.languages.extend(`clike`,{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore(`c`,`string`,{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:`property`,inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:`function`}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:`keyword`},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:`punctuation`},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:`string`},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:[`annotation`,`punctuation`],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python[`string-interpolation`].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=`(^|[^\\w.])(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*`,r={pattern:RegExp(n+`[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b`),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend(`clike`,{"class-name":[r,{pattern:RegExp(n+`[A-Z]\\w*(?=\\s+\\w+\\s*[;,=()])`),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore(`java`,`string`,{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:`string`}}),e.languages.insertBefore(`java`,`class-name`,{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:`punctuation`},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(`(\\b(?:exports|import(?:\\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\\s+)(?!<keyword>)[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?`.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=`\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b`.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend(`c`,{"class-name":[{pattern:RegExp(`(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+`.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore(`cpp`,`string`,{module:{pattern:RegExp(`(\\b(?:module|import)\\s+)(?:"(?:\\\\(?:\\r\\n|[\\s\\S])|[^"\\\\\\r\\n])*"|<[^<>\\r\\n]*>|`+`<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>`.replace(/<mod-name>/g,(function(){return n}))+`)`),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:`string`,greedy:!0}}),e.languages.insertBefore(`cpp`,`keyword`,{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:`class-name`,inside:e.languages.cpp}}}}),e.languages.insertBefore(`cpp`,`operator`,{"double-colon":{pattern:/::/,alias:`punctuation`}}),e.languages.insertBefore(`cpp`,`class-name`,{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend(`cpp`,{})}}),e.languages.insertBefore(`inside`,`double-colon`,{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp[`base-clause`])}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return`(?:`+t[+n]+`)`}))}function n(e,n,r){return RegExp(t(e,n),r||``)}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return`(?:`+e+`)`}));return e.replace(/<<self>>/g,`[^\\s\\S]`)}var i=`bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void`,a=`class enum interface record struct`,o=`add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)`,s=`abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield`;function c(e){return`\\b(?:`+e.trim().replace(/ /g,`|`)+`)\\b`}var l=c(a),u=RegExp(c(i+` `+a+` `+o+` `+s)),d=c(a+` `+o+` `+s),f=c(i+` `+a+` `+s),p=r(`<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>`,2),m=r(`\\((?:[^()]|<<self>>)*\\)`,2),h=`@?\\b[A-Za-z_]\\w*\\b`,g=t(`<<0>>(?:\\s*<<1>>)?`,[h,p]),_=t(`(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*`,[d,g]),v=`\\[\\s*(?:,\\s*)*\\]`,y=t(`<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?`,[_,v]),b=t(`(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?`,[t(`\\(<<0>>+(?:,<<0>>+)+\\)`,[t(`[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>`,[p,m,v])]),_,v]),x={keyword:u,punctuation:/[<>()?,.:[\]]/},S=`'(?:[^\\r\\n'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'`,C=`"(?:\\\\.|[^\\\\"\\r\\n])*"`,w=`@"(?:""|\\\\[\\s\\S]|[^\\\\"])*"(?!")`;e.languages.csharp=e.languages.extend(`clike`,{string:[{pattern:n(`(^|[^$\\\\])<<0>>`,[w]),lookbehind:!0,greedy:!0},{pattern:n(`(^|[^@$\\\\])<<0>>`,[C]),lookbehind:!0,greedy:!0},{pattern:RegExp(S),greedy:!0,alias:`character`}],"class-name":[{pattern:n(`(\\busing\\s+static\\s+)<<0>>(?=\\s*;)`,[_]),lookbehind:!0,inside:x},{pattern:n(`(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)`,[h,b]),lookbehind:!0,inside:x},{pattern:n(`(\\busing\\s+)<<0>>(?=\\s*=)`,[h]),lookbehind:!0},{pattern:n(`(\\b<<0>>\\s+)<<1>>`,[l,g]),lookbehind:!0,inside:x},{pattern:n(`(\\bcatch\\s*\\(\\s*)<<0>>`,[_]),lookbehind:!0,inside:x},{pattern:n(`(\\bwhere\\s+)<<0>>`,[h]),lookbehind:!0},{pattern:n(`(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>`,[y]),lookbehind:!0,inside:x},{pattern:n(`\\b<<0>>(?=\\s+(?!<<1>>|with\\s*\\{)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))`,[b,f,h]),inside:x}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore(`csharp`,`number`,{range:{pattern:/\.\./,alias:`operator`}}),e.languages.insertBefore(`csharp`,`punctuation`,{"named-parameter":{pattern:n(`([(,]\\s*)<<0>>(?=\\s*:)`,[h]),lookbehind:!0,alias:`punctuation`}}),e.languages.insertBefore(`csharp`,`class-name`,{namespace:{pattern:n(`(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])`,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(`(\\b(?:default|typeof|sizeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))`,[m]),lookbehind:!0,alias:`class-name`,inside:x},"return-type":{pattern:n(`<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))`,[b,_]),inside:x,alias:`class-name`},"constructor-invocation":{pattern:n(`(\\bnew\\s+)<<0>>(?=\\s*[[({])`,[b]),lookbehind:!0,inside:x,alias:`class-name`},"generic-method":{pattern:n(`<<0>>\\s*<<1>>(?=\\s*\\()`,[h,p]),inside:{function:n(`^<<0>>`,[h]),generic:{pattern:RegExp(p),alias:`class-name`,inside:x}}},"type-list":{pattern:n(`\\b((?:<<0>>\\s+<<1>>|record\\s+<<1>>\\s*<<5>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>|<<1>>\\s*<<5>>|<<6>>)(?:\\s*,\\s*(?:<<3>>|<<4>>|<<6>>))*(?=\\s*(?:where|[{;]|=>|$))`,[l,g,h,b,u.source,m,`\\bnew\\s*\\(\\s*\\)`]),lookbehind:!0,inside:{"record-arguments":{pattern:n(`(^(?!new\\s*\\()<<0>>\\s*)<<1>>`,[g,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(b),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:`property`,inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:`keyword`}}}});var T=C+`|`+S,E=t(`\\/(?![*/])|\\/\\/[^\\r\\n]*[\\r\\n]|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>`,[T]),D=r(t(`[^"'/()]|<<0>>|\\(<<self>>*\\)`,[E]),2),O=`\\b(?:assembly|event|field|method|module|param|property|return|type)\\b`,ee=t(`<<0>>(?:\\s*\\(<<1>>*\\))?`,[_,D]);e.languages.insertBefore(`csharp`,`class-name`,{attribute:{pattern:n(`((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])`,[O,ee]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(`^<<0>>(?=\\s*:)`,[O]),alias:`keyword`},"attribute-arguments":{pattern:n(`\\(<<0>>*\\)`,[D]),inside:e.languages.csharp},"class-name":{pattern:RegExp(_),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var k=`:[^}\\r\\n]+`,te=r(t(`[^"'/()]|<<0>>|\\(<<self>>*\\)`,[E]),2),A=t(`\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}`,[te,k]),ne=r(t(`[^"'/()]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|<<0>>|\\(<<self>>*\\)`,[T]),2),re=t(`\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}`,[ne,k]);function ie(t,r){return{interpolation:{pattern:n(`((?:^|[^{])(?:\\{\\{)*)<<0>>`,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(`(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)`,[r,k]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:`language-csharp`,inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore(`csharp`,`string`,{"interpolation-string":[{pattern:n(`(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[\\s\\S]|\\{\\{|<<0>>|[^\\\\{"])*"`,[A]),lookbehind:!0,greedy:!0,inside:ie(A,te)},{pattern:n(`(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"`,[re]),lookbehind:!0,greedy:!0,inside:ie(re,ne)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages[`visual-basic`]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:`comment`,greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:`builtin`},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages[`visual-basic`],Prism.languages.vba=Prism.languages[`visual-basic`],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend(`clike`,{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:`tag`},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore(`ruby`,`keyword`,{regex:[{pattern:RegExp(`%r(?:`+[`([^a-zA-Z0-9\\s{(\\[<])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1`,`\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)`,`\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}`,`\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]`,`<(?:[^<>\\\\]|\\\\[\\s\\S])*>`].join(`|`)+`)[egimnosux]{0,6}`),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore(`ruby`,`number`,{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(`%[qQiIwWxs]?(?:`+[`([^a-zA-Z0-9\\s{(\\[<])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1`,`\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)`,`\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}`,`\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]`,`<(?:[^<>\\\\]|\\\\[\\s\\S])*>`].join(`|`)+`)`),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:`symbol`,inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:`heredoc-string`,greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:`symbol`,inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(`(^|[^"#])(?:"(?:\\\\(?:\\((?:[^()]|\\([^()]*\\))*\\)|\\r\\n|[^(])|[^\\\\\\r\\n"])*"|"""(?:\\\\(?:\\((?:[^()]|\\([^()]*\\))*\\)|[^(])|[^\\\\"]|"(?!""))*""")(?!["#])`),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:`punctuation`},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(`(^|[^"#])(#+)(?:"(?:\\\\(?:#+\\((?:[^()]|\\([^()]*\\))*\\)|\\r\\n|[^#])|[^\\\\\\r\\n])*?"|"""(?:\\\\(?:#+\\((?:[^()]|\\([^()]*\\))*\\)|[^#])|[^\\\\])*?""")\\2`),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:`punctuation`},string:/[\s\S]+/}}],directive:{pattern:RegExp(`#(?:(?:elseif|if)\\b(?:[ ]*(?:![ \\t]*)?(?:\\b\\w+\\b(?:[ \\t]*\\((?:[^()]|\\([^()]*\\))*\\))?|\\((?:[^()]|\\([^()]*\\))*\\))(?:[ \\t]*(?:&&|\\|\\|))?)+|(?:else|endif)\\b)`),alias:`property`,inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:`constant`},"other-directive":{pattern:/#\w+\b/,alias:`property`},attribute:{pattern:/@\w+/,alias:`atrule`},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:`function`},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:`important`},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:`constant`},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:`keyword`},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift[`string-literal`].forEach((function(e){e.inside.interpolation.inside=Prism.languages.swift})),function(e){var t=`\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b`,n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:`punctuation`,inside:null},r={bash:n,environment:{pattern:RegExp(`\\$`+t),alias:`constant`},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp(`(\\{)`+t),lookbehind:!0,alias:`constant`}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:`important`},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:`function`},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:`function`}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:`variable`,lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp(`(^|[\\s;|&]|[<>]\\()`+t),lookbehind:!0,alias:`constant`}},alias:`variable`,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp(`\\$?`+t),alias:`constant`},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:`class-name`},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:`important`},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:`important`}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=[`comment`,`function-name`,`for-or-select`,`assign-left`,`string`,`environment`,`function`,`keyword`,`builtin`,`boolean`,`file-descriptor`,`operator`,`punctuation`,`number`],a=r.variable[1].inside,o=0;o<i.length;o++)a[i[o]]=e.languages.bash[i[o]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=`(?:\\\\.|[^\\\\\\n\\r]|(?:\\n|\\r\\n?)(?![\\r\\n]))`;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(`((?:^|[^\\\\])(?:\\\\{2})*)(?:`+e+`)`)}var r="(?:\\\\.|``(?:[^`\\r\\n]|`(?!`))+``|`[^`\\r\\n]+`|[^\\\\|\\r\\n`])+",i=`\\|?__(?:\\|__)+\\|?(?:(?:\\n|\\r\\n?)|(?![\\s\\S]))`.replace(/__/g,(function(){return r})),a=`\\|?[ \\t]*:?-{3,}:?[ \\t]*(?:\\|[ \\t]*:?-{3,}:?[ \\t]*)+\\|?(?:\\n|\\r\\n?)`;e.languages.markdown=e.languages.extend(`markup`,{}),e.languages.insertBefore(`markdown`,`prolog`,{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:[`yaml`,`language-yaml`],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:`punctuation`},table:{pattern:RegExp(`^`+i+a+`(?:`+i+`)*`,`m`),inside:{"table-data-rows":{pattern:RegExp(`^(`+i+a+`)(?:`+i+`)*$`),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp(`^(`+i+`)`+a+`$`),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp(`^`+i+`$`),inside:{"table-header":{pattern:RegExp(r),alias:`important`,inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:`keyword`},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:`important`,inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:`important`,inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:`punctuation`},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:`punctuation`},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:`url`},bold:{pattern:n(`\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(`\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(`(~~?)(?:(?!~)<inner>)+\\2`),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:[`code`,`keyword`]},url:{pattern:n(`!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\\t ]+"(?:\\\\.|[^"\\\\])*")?\\)|[ \\t]?\\[(?:(?!\\])<inner>)+\\])`),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),[`url`,`bold`,`italic`,`strike`].forEach((function(t){[`url`,`bold`,`italic`,`strike`,`code-snippet`].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add(`after-tokenize`,(function(e){e.language!==`markdown`&&e.language!==`md`||function e(t){if(t&&typeof t!=`string`)for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i.type===`code`){var a=i.content[1],o=i.content[3];if(a&&o&&a.type===`code-language`&&o.type===`code-block`&&typeof a.content==`string`){var s=a.content.replace(/\b#/g,`sharp`).replace(/\b\+\+/g,`pp`),c=`language-`+(s=(/[a-z][\w-]*/i.exec(s)||[``])[0].toLowerCase());o.alias?typeof o.alias==`string`?o.alias=[o.alias,c]:o.alias.push(c):o.alias=[c]}}else e(i.content)}}(e.tokens)})),e.hooks.add(`wrap`,(function(t){if(t.type===`code-block`){for(var n=``,r=0,i=t.classes.length;r<i;r++){var a=t.classes[r],l=/language-(.+)/.exec(a);if(l){n=l[1];break}}var u=e.languages[n];if(u)t.content=e.highlight(function(e){return e.replace(o,``).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return(t=t.toLowerCase())[0]===`#`?(n=t[1]===`x`?parseInt(t.slice(2),16):Number(t.slice(1)),c(n)):s[t]||e}))}(t.content),u,n);else if(n&&n!==`none`&&e.plugins.autoloader){var d=`md-`+new Date().valueOf()+`-`+Math.floor(0x2386f26fc10000*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var o=RegExp(e.languages.markup.tag.pattern.source,`gi`),s={amp:`&`,lt:`<`,gt:`>`,quot:`"`},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend(`clike`,{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore(`groovy`,`string`,{shebang:{pattern:/#!.+/,alias:`comment`}}),Prism.languages.insertBefore(`groovy`,`punctuation`,{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore(`groovy`,`function`,{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:`punctuation`}}),Prism.hooks.add(`wrap`,(function(e){if(e.language===`groovy`&&e.type===`string`){var t=e.content[0];if(t!=`'`){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;t===`$`&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,`<`).replace(/&amp;/g,`&`),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(t===`/`?`regex`:`gstring`)}}}));var wDe=`comment.prolog.doctype.cdata.punctuation.namespace.property.tag.boolean.number.constant.symbol.deleted.selector.attr-name.string.builtin.inserted.operator.entity.url.string.atrule.attr-value.keyword.function.class-name.regex.important.variable.bold.italic.entity.char`.split(`.`);function q4(e){return typeof e==`string`?e.length:typeof e.content==`string`?e.content.length:e.content.reduce((function(e,t){return e+q4(t)}),0)}var J4,TDe=Y0.String,Y4=function(e){if(o4(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return TDe(e)},X4=function(){var e=k2(this),t=``;return e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.sticky&&(t+=`y`),t},Z4=Y0.RegExp,Q4=h2((function(){var e=Z4(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!=null})),EDe=Q4||h2((function(){return!Z4(`a`,`y`).sticky})),$4={BROKEN_CARET:Q4||h2((function(){var e=Z4(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!=null})),MISSED_STICKY:EDe,UNSUPPORTED_Y:Q4},DDe=w2?Object.defineProperties:function(e,t){k2(e);for(var n,r=M4(t),i=H4(t),a=i.length,o=0;a>o;)z2.f(e,n=i[o++],r[n]);return e},ODe=c2(`document`,`documentElement`),e3=J2(`IE_PROTO`),t3=function(){},n3=function(e){return`<script>`+e+`<\/script>`},r3=function(e){e.write(n3(``)),e.close();var t=e.parentWindow.Object;return e=null,t},i3=function(){try{J4=new ActiveXObject(`htmlfile`)}catch{}var e,t;i3=typeof document<`u`?document.domain&&J4?r3(J4):((t=D2(`iframe`)).style.display=`none`,ODe.appendChild(t),t.src=`javascript:`,(e=t.contentWindow.document).open(),e.write(n3(`document.F=Object`)),e.close(),e.F):r3(J4);for(var n=R4.length;n--;)delete i3.prototype[R4[n]];return i3()};Y2[e3]=!0;var a3,o3,kDe=Object.create||function(e,t){var n;return e===null?n=i3():(t3.prototype=k2(e),n=new t3,t3.prototype=null,n[e3]=e),t===void 0?n:DDe(n,t)},ADe=Y0.RegExp,jDe=h2((function(){var e=ADe(`.`,`s`);return!(e.dotAll&&e.exec(`
78
+ `)&&e.flags===`s`)})),MDe=Y0.RegExp,NDe=h2((function(){var e=MDe(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})),PDe=e4.get,FDe=Q0(`native-string-replace`,String.prototype.replace),s3=RegExp.prototype.exec,c3=s3,IDe=n2(``.charAt),LDe=n2(``.indexOf),RDe=n2(``.replace),l3=n2(``.slice),u3=(o3=/b*/g,j2(s3,a3=/a/,`a`),j2(s3,o3,`a`),a3.lastIndex!==0||o3.lastIndex!==0),d3=$4.BROKEN_CARET,f3=/()??/.exec(``)[1]!==void 0;(u3||f3||d3||jDe||NDe)&&(c3=function(e){var t,n,r,i,a,o,s,c=this,l=PDe(c),u=Y4(e),d=l.raw;if(d)return d.lastIndex=c.lastIndex,t=j2(c3,d,u),c.lastIndex=d.lastIndex,t;var f=l.groups,p=d3&&c.sticky,m=j2(X4,c),h=c.source,g=0,_=u;if(p&&(m=RDe(m,`y`,``),LDe(m,`g`)===-1&&(m+=`g`),_=l3(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&IDe(u,c.lastIndex-1)!==`
79
+ `)&&(h=`(?: `+h+`)`,_=` `+_,g++),n=RegExp(`^(?:`+h+`)`,m)),f3&&(n=RegExp(`^`+h+`$(?!\\s)`,m)),u3&&(r=c.lastIndex),i=j2(s3,p?n:c,_),p?i?(i.input=l3(i.input,g),i[0]=l3(i[0],g),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:u3&&i&&(c.lastIndex=c.global?i.index+i[0].length:r),f3&&i&&i.length>1&&j2(FDe,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(i[a]=void 0)})),i&&f)for(i.groups=o=kDe(null),a=0;a<f.length;a++)o[(s=f[a])[0]]=i[s[1]];return i});var p3=c3;V4({target:`RegExp`,proto:!0,forced:/./.exec!==p3},{exec:p3});var m3=Function.prototype,h3=m3.apply,zDe=m3.bind,g3=m3.call,BDe=typeof Reflect==`object`&&Reflect.apply||(zDe?g3.bind(h3):function(){return g3.apply(h3,arguments)}),VDe=x2(`species`),_3=RegExp.prototype,HDe=x2(`match`),UDe=Y0.TypeError,WDe=x2(`species`),GDe=n2(``.charAt),v3=n2(``.charCodeAt),KDe=n2(``.slice),qDe=function(e){return function(t,n){var r,i,a=Y4(r2(t)),o=m4(n),s=a.length;return o<0||o>=s?e?``:void 0:(r=v3(a,o))<55296||r>56319||o+1===s||(i=v3(a,o+1))<56320||i>57343?e?GDe(a,o):r:e?KDe(a,o,o+2):i-56320+(r-55296<<10)+65536}}(!0),JDe=function(e,t,n){return t+(n?qDe(e,t).length:1)},YDe=Y0.Array,XDe=Math.max,y3=function(e,t,n){for(var r,i,a,o,s=g4(e),c=F4(t,s),l=F4(n===void 0?s:n,s),u=YDe(XDe(l-c,0)),d=0;c<l;c++,d++)r=u,i=d,a=e[c],(o=L2(i))in r?z2.f(r,o,B2(0,a)):r[o]=a;return u.length=d,u},ZDe=Y0.TypeError,b3=function(e,t){var n=e.exec;if(s2(n)){var r=j2(n,e,t);return r!==null&&k2(r),r}if(a4(e)===`RegExp`)return j2(p3,e,t);throw ZDe(`RegExp#exec called on incompatible receiver`)},x3=$4.UNSUPPORTED_Y,QDe=Math.min,S3=[].push,$De=n2(/./.exec),C3=n2(S3),w3=n2(``.slice);(function(e,t,n,r){var i=x2(e),a=!h2((function(){var t={};return t[i]=function(){return 7},``[e](t)!=7})),o=a&&!h2((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[VDe]=function(){return t},t.flags=``,t[i]=/./[i],t.exec=function(){return e=!0,null},t[i](``),!e}));if(!a||!o||n){var s=n2(/./[i]),c=function(e,t,n){var r;return r=`abbc`.split(/(b)*/)[1]==`c`||`test`.split(/(?:)/,-1).length!=4||`ab`.split(/(?:ab)*/).length!=2||`.`.split(/(.?)(.?)/).length!=4||`.`.split(/()()/).length>1||``.split(/.?/).length?function(e,n){var r,i,a=Y4(r2(this)),o=n===void 0?4294967295:n>>>0;if(o===0)return[];if(e===void 0)return[a];if(!T2(r=e)||!((i=r[HDe])===void 0?a4(r)==`RegExp`:i))return j2(t,a,e,o);for(var s,c,l,u=[],d=(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.unicode?`u`:``)+(e.sticky?`y`:``),f=0,p=new RegExp(e.source,d+`g`);(s=j2(p3,p,a))&&!((c=p.lastIndex)>f&&(C3(u,w3(a,f,s.index)),s.length>1&&s.index<a.length&&BDe(S3,u,y3(s,1)),l=s[0].length,f=c,u.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return f===a.length?!l&&$De(p,``)||C3(u,``):C3(u,w3(a,f)),u.length>o?y3(u,0,o):u}:`0`.split(void 0,0).length?function(e,n){return e===void 0&&n===0?[]:j2(t,this,e,n)}:t,[function(t,n){var i=r2(this),a=t==null?void 0:I2(t,e);return a?j2(a,t,i,n):j2(r,Y4(i),t,n)},function(e,i){var a=k2(this),o=Y4(e),s=n(r,a,o,i,r!==t);if(s.done)return s.value;var c=function(e,t){var n,r=k2(e).constructor;return r===void 0||(n=k2(r)[WDe])==null?t:function(e){if(S4(e))return e;throw UDe(P2(e)+` is not a constructor`)}(n)}(a,RegExp),l=a.unicode,u=(a.ignoreCase?`i`:``)+(a.multiline?`m`:``)+(a.unicode?`u`:``)+(x3?`g`:`y`),d=new c(x3?`^(?:`+a.source+`)`:a,u),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o.length===0)return b3(d,o)===null?[o]:[];for(var p=0,m=0,h=[];m<o.length;){d.lastIndex=x3?0:m;var g,_=b3(d,x3?w3(o,m):o);if(_===null||(g=QDe(h4(d.lastIndex+(x3?m:0)),o.length))===p)m=JDe(o,m,l);else{if(C3(h,w3(o,p,m)),h.length===f)return h;for(var v=1;v<=_.length-1;v++)if(C3(h,_[v]),h.length===f)return h;m=p=g}}return C3(h,w3(o,p)),h}]}(i,``[e],(function(e,t,n,r,i){var o=n2(e),c=t.exec;return c===p3||c===_3.exec?a&&!i?{done:!0,value:s(t,n,r)}:{done:!0,value:o(n,t,r)}:{done:!1}}));i4(String.prototype,e,c[0]),i4(_3,i,c[1])}r&&V2(_3[i],`sham`,!0)})(`split`,0,!!h2((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`})),x3),V4({global:!0},{globalThis:Y0}),xp&&(B.fn.attr=xp);var eOe=r4.PROPER,T3=RegExp.prototype,E3=T3.toString,tOe=n2(X4),nOe=h2((function(){return E3.call({source:`a`,flags:`b`})!=`/a/b`})),rOe=eOe&&E3.name!=`toString`;(nOe||rOe)&&i4(RegExp.prototype,`toString`,(function(){var e=k2(this),t=Y4(e.source),n=e.flags;return`/`+t+`/`+Y4(n===void 0&&M2(T3,e)&&!(`flags`in T3)?tOe(e):n)}),{unsafe:!0});var iOe=function(){function e(){this.title=K(`highLightModule.selectLang`),this.iconSvg=`<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>`,this.tag=`select`,this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(`codeSelectLang`).codeLangs,r=n===void 0?[]:n;t.push({text:`plain text`,value:``}),r.forEach((function(e){var n=e.text,r=e.value;t.push({text:n,value:r})}));var i=this.getValue(e);return t.forEach((function(e){e.value===i?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(t==null||!N.isElement(t))return``;var n=t.language.toString(),r=e.getMenuConfig(`codeSelectLang`).codeLangs;return(r===void 0?[]:r).some((function(e){return e.value===n}))?n:``},e.prototype.isDisabled=function(e){return e.selection==null||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(this.getSelectCodeElem(e)!=null){var n={language:t.toString()};z.setNodes(e,n,{match:function(e){return G.checkNodeType(e,`code`)}})}},e.prototype.getSelectCodeElem=function(e){var t=G.getSelectedNodeByType(e,`code`);if(t==null)return null;var n=G.getParentNode(e,t);return N.isElement(n)&&n.type===`pre`?t:null},e}(),aOe={renderStyle:function(e,t){var n=e,r=t,i=``;return wDe.forEach((function(e){n[e]&&(i=e)})),i&&function(e,t){e.data??={};var n=e.data;n.props??={},Object.assign(n.props,{className:t})}(r,i=`token `+i),r},parseStyleHtml:function(e,t,n){var r=B(e);if(!N.isElement(t)||G.getNodeType(t)!==`code`)return t;var i=t,a=r.attr(`class`)||``;return a.indexOf(`language-`)===0?i.language=a.split(`-`)[1]||``:i.language=a.toLowerCase(),i},menus:[{key:`codeSelectLang`,factory:function(){return new iOe},config:{codeLangs:[{text:`CSS`,value:`css`},{text:`HTML`,value:`html`},{text:`XML`,value:`xml`},{text:`Javascript`,value:`javascript`},{text:`Typescript`,value:`typescript`},{text:`JSX`,value:`jsx`},{text:`Go`,value:`go`},{text:`PHP`,value:`php`},{text:`C`,value:`c`},{text:`Python`,value:`python`},{text:`Java`,value:`java`},{text:`C++`,value:`cpp`},{text:`C#`,value:`csharp`},{text:`Visual Basic`,value:`visual-basic`},{text:`SQL`,value:`sql`},{text:`Ruby`,value:`ruby`},{text:`Swift`,value:`swift`},{text:`Bash`,value:`bash`},{text:`Lua`,value:`lua`},{text:`Groovy`,value:`groovy`},{text:`Markdown`,value:`markdown`}]}}],elemsToHtml:[{type:`code`,elemToHtml:function(e,t){var n=e.language,r=n===void 0?``:n;return`<code `+(r?`class="language-`+r+`"`:``)+`>`+t+`</code>`}}]},oOe=/"/g,sOe=n2(``.replace);V4({target:`String`,proto:!0,forced:h2((function(){var e=``.anchor(`"`);return e!==e.toLowerCase()||e.split(`"`).length>3}))},{anchor:function(e){return t=e,n=Y4(r2(this)),r=`<a`,(r+=` name="`+sOe(Y4(t),oOe,`&quot;`)+`"`)+`>`+n+`</a>`;var t,n,r}});var D3=function(e){var t,n,r,i=function(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}(e,2),a=i[0],o=i[1],s=[],c=function(e){if(!R.isText(e))return null;var t=G.getParentNode(null,e);if(t&&G.getNodeType(t)===`code`){var n=G.getParentNode(null,t);if(n&&G.getNodeType(n)===`pre`)return t}return null}(a);if(c==null)return s;var l=c.language,u=l===void 0?``:l;if(!u)return s;var d=function(e,t){if(!t)return[];var n=K4.languages[t];return n?K4.tokenize(e.text,n):[]}(a,u),f=0;try{for(var p=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(d),m=p.next();!m.done;m=p.next()){var h=m.value,g=f+q4(h);typeof h!=`string`&&s.push(((r={})[h.type]=!0,r.anchor={path:o,offset:f},r.focus={path:o,offset:g},r)),f=g}}catch(e){t={error:e}}finally{try{m&&!m.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return s},O3=function(){return O3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},O3.apply(this,arguments)},k3=function(){function e(){throw Error(`不能实例化
80
+ Can not construct a instance`)}return e.setEditorConfig=function(e){e===void 0&&(e={}),this.editorConfig=O3(O3({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){e===void 0&&(e={}),this.simpleEditorConfig=O3(O3({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){e===void 0&&(e={}),this.toolbarConfig=O3(O3({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){e===void 0&&(e={}),this.simpleToolbarConfig=O3(O3({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){(function(e,t){var n=e.key,r=e.factory,i=e.config,a=Ix(Ix({},i),t||{});if(lC[n]!=null)throw Error(`Duplicated key '`+n+`' in menu items`);lC[n]=r,function(e,t){t!=null&&(cC[e]=t)}(n,a)})(e,t)},e.registerRenderElem=function(e){(function(e){var t=e.type;BT[t||``]=e.renderElem})(e)},e.registerRenderStyle=function(e){(function(e){zT.push(e)})(e)},e.registerElemToHtml=function(e){(function(e){var t=e.type;hC[t||``]=e.elemToHtml})(e)},e.registerStyleToHtml=function(e){(function(e){mC.push(e)})(e)},e.registerPreParseHtml=function(e){(function(e){Iw.push(e)})(e)},e.registerParseElemHtml=function(e){(function(e){var t=e.selector;Rw[t]=e.parseElemHtml})(e)},e.registerParseStyleHtml=function(e){(function(e){Lw.push(e)})(e)},e.registerModule=function(e){A3(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function A3(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,i=e.elemsToHtml,a=e.styleToHtml,o=e.preParseHtml,s=e.parseElemsHtml,c=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach((function(e){return k3.registerMenu(e)})),n&&n.forEach((function(e){return k3.registerRenderElem(e)})),r&&k3.registerRenderStyle(r),i&&i.forEach((function(e){return k3.registerElemToHtml(e)})),a&&k3.registerStyleToHtml(a),o&&o.forEach((function(e){return k3.registerPreParseHtml(e)})),s&&s.forEach((function(e){return k3.registerParseElemHtml(e)})),c&&k3.registerParseStyleHtml(c),l&&k3.registerPlugin(l)}$_e.forEach((function(e){return A3(e)})),A3(RB),A3(Sbe),A3(kCe),A3(vEe),A3(aOe);var j3=`<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>`,M3={link:{menuKeys:[`editLink`,`unLink`,`viewLink`]},image:{menuKeys:[`imageWidth30`,`imageWidth50`,`imageWidth100`,`editImage`,`viewImageLink`,`deleteImage`]},pre:{menuKeys:[`enter`,`codeBlock`,`codeSelectLang`]},table:{menuKeys:[`enter`,`tableHeader`,`tableFullWidth`,`insertTableRow`,`deleteTableRow`,`insertTableCol`,`deleteTableCol`,`deleteTable`]},divider:{menuKeys:[`enter`]},video:{menuKeys:[`enter`,`editVideoSize`]}},cOe={hoverbarKeys:O3(O3({},M3),{text:{menuKeys:[`headerSelect`,`insertLink`,`bulletedList`,`|`,`bold`,`through`,`color`,`bgColor`,`clearStyle`]}})};k3.setEditorConfig(O3(O3({},cOe),{decorate:D3}));var lOe={hoverbarKeys:M3};k3.setSimpleEditorConfig(O3(O3({},lOe),{decorate:D3}));var uOe={toolbarKeys:[`headerSelect`,`blockquote`,`|`,`bold`,`underline`,`italic`,{key:`group-more-style`,title:K(`editor.more`),iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>`,menuKeys:[`through`,`code`,`sup`,`sub`,`clearStyle`]},`color`,`bgColor`,`|`,`fontSize`,`fontFamily`,`lineHeight`,`|`,`bulletedList`,`numberedList`,`todo`,{key:`group-justify`,title:K(`editor.justify`),iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>`,menuKeys:[`justifyLeft`,`justifyRight`,`justifyCenter`,`justifyJustify`]},{key:`group-indent`,title:K(`editor.indent`),iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>`,menuKeys:[`indent`,`delIndent`]},`|`,`emotion`,`insertLink`,{key:`group-image`,title:K(`editor.image`),iconSvg:j3,menuKeys:[`insertImage`,`uploadImage`]},{key:`group-video`,title:K(`editor.video`),iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>`,menuKeys:[`insertVideo`,`uploadVideo`]},`insertTable`,`codeBlock`,`divider`,`|`,`undo`,`redo`,`|`,`fullScreen`]};k3.setToolbarConfig(uOe);var dOe={toolbarKeys:[`blockquote`,`header1`,`header2`,`header3`,`|`,`bold`,`underline`,`italic`,`through`,`color`,`bgColor`,`clearStyle`,`|`,`bulletedList`,`numberedList`,`todo`,`justifyLeft`,`justifyRight`,`justifyCenter`,`|`,`insertLink`,{key:`group-image`,title:K(`editor.image`),iconSvg:j3,menuKeys:[`insertImage`,`uploadImage`]},`insertVideo`,`insertTable`,`codeBlock`,`|`,`undo`,`redo`,`|`,`fullScreen`]};function fOe(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?``:t,r=e.content,i=r===void 0?[]:r,a=e.html,o=e.config,s=o===void 0?{}:o,c=e.mode,l=(c===void 0?`default`:c)===`simple`?k3.simpleEditorConfig:k3.editorConfig,u=O3(O3({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return Nfe({selector:n,config:O3(O3(O3({},l),s),{hoverbarKeys:u}),content:i,html:a,plugins:k3.plugins})}function pOe(e){var t=e.selector,n=e.editor,r=e.config,i=r===void 0?{}:r,a=e.mode,o=a===void 0?`default`:a;if(!t)throw Error(`Cannot find 'selector' when create toolbar`);var s=o===`simple`?k3.simpleToolbarConfig:k3.toolbarConfig;return function(e,t){if(e==null)throw Error(`Cannot create toolbar, because editor is null`);var n=t.selector,r=t.config,i=r===void 0?{}:r;if(function(e,t){return rT(e,`data-w-e-toolbar`,t)}(e,n))throw Error(`Repeated create toolbar by selector '`+n+`'`);var a=new Rfe(n,Ix({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},i||{}));return SS.set(a,e),CS.set(e,a),a}(n,{selector:t,config:O3(O3({},s),i)})}k3.setSimpleToolbarConfig(dOe);var mOe=Object.defineProperty,hOe=Object.defineProperties,gOe=Object.getOwnPropertyDescriptors,N3=Object.getOwnPropertySymbols,_Oe=Object.prototype.hasOwnProperty,vOe=Object.prototype.propertyIsEnumerable,P3=(e,t,n)=>t in e?mOe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yOe=(e,t)=>{for(var n in t||={})_Oe.call(t,n)&&P3(e,n,t[n]);if(N3)for(var n of N3(t))vOe.call(t,n)&&P3(e,n,t[n]);return e},bOe=(e,t)=>hOe(e,gOe(t));function F3(e){let t=`\u8BF7\u4F7F\u7528 '@${e}' \u4E8B\u4EF6\uFF0C\u4E0D\u8981\u653E\u5728 props \u4E2D`;return t+=`
81
+ Please use '@${e}' event instead of props`,t}var I3=(e,t)=>{for(let[n,r]of t)e[n]=r;return e},xOe=(0,e.defineComponent)({props:{mode:{type:String,default:`default`},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:``},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:``}},setup(t,n){let r=(0,e.ref)(null),i=(0,e.shallowRef)(null),a=(0,e.ref)(``),o=()=>{if(!r.value)return;let o=(0,e.toRaw)(t.defaultContent);fOe({selector:r.value,mode:t.mode,content:o||[],html:t.defaultHtml||t.modelValue||``,config:bOe(yOe({},t.defaultConfig),{onCreated(e){if(i.value=e,n.emit(`onCreated`,e),t.defaultConfig.onCreated){let e=F3(`onCreated`);throw Error(e)}},onChange(e){let r=e.getHtml();if(a.value=r,n.emit(`update:modelValue`,r),n.emit(`onChange`,e),t.defaultConfig.onChange){let e=F3(`onChange`);throw Error(e)}},onDestroyed(e){if(n.emit(`onDestroyed`,e),t.defaultConfig.onDestroyed){let e=F3(`onDestroyed`);throw Error(e)}},onMaxLength(e){if(n.emit(`onMaxLength`,e),t.defaultConfig.onMaxLength){let e=F3(`onMaxLength`);throw Error(e)}},onFocus(e){if(n.emit(`onFocus`,e),t.defaultConfig.onFocus){let e=F3(`onFocus`);throw Error(e)}},onBlur(e){if(n.emit(`onBlur`,e),t.defaultConfig.onBlur){let e=F3(`onBlur`);throw Error(e)}},customAlert(e,r){if(n.emit(`customAlert`,e,r),t.defaultConfig.customAlert){let e=F3(`customAlert`);throw Error(e)}},customPaste:(e,r)=>{if(t.defaultConfig.customPaste){let e=F3(`customPaste`);throw Error(e)}let i;return n.emit(`customPaste`,e,r,e=>{i=e}),i}})})};function s(e){i.value?.setHtml(e)}return(0,e.onMounted)(()=>{o()}),(0,e.watch)(()=>t.modelValue,e=>{e!==a.value&&s(e)}),{box:r}}}),SOe={ref:`box`,style:{height:`100%`}};function COe(t,n,r,i,a,o){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,SOe,null,512)}var wOe=I3(xOe,[[`render`,COe]]),TOe=(0,e.defineComponent)({props:{editor:{type:Object},mode:{type:String,default:`default`},defaultConfig:{type:Object,default:{}}},setup(t){let n=(0,e.ref)(null),r=e=>{if(n.value){if(e==null)throw Error(`Not found instance of Editor when create <Toolbar/> component`);G.getToolbar(e)||pOe({editor:e,selector:n.value||`<div></div>`,mode:t.mode,config:t.defaultConfig})}};return(0,e.watchEffect)(()=>{let{editor:e}=t;e!=null&&r(e)}),{selector:n}}}),EOe={ref:`selector`};function DOe(t,n,r,i,a,o){return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,EOe,null,512)}var OOe=I3(TOe,[[`render`,DOe]]),kOe=(0,e.defineComponent)({__name:`index`,props:(0,e.mergeModels)({modelValue:{type:String,default:``},disabled:{type:Boolean,default:!1},mode:{type:String,default:`default`},height:{type:Number,default:400},action:{type:String,default:``},folder:{type:String,default:``},radius:{type:Number,default:0},headers:{type:String,token:``}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){Jfe(Mr.global.locale);let n=(0,e.ref)({}),r=(0,e.shallowRef)(),i=(0,e.useModel)(t,`modelValue`),a=t,o=()=>{k(a.height)&&(n.value[`--height`]=`${a.height}`),k(a.radius)&&(n.value[`--radius`]=`${a.radius}`)},s={toolbarKeys:[`headerSelect`,`blockquote`,`|`,`bold`,`underline`,`italic`,{key:`group-more-style`,title:`更多`,iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>`,menuKeys:[`through`,`code`,`sup`,`sub`,`undo`,`redo`,`clearStyle`]},`color`,`bgColor`,`|`,`fontSize`,`fontFamily`,`lineHeight`,`|`,`bulletedList`,`numberedList`,`todo`,{key:`group-justify`,title:`对齐`,iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>`,menuKeys:[`justifyLeft`,`justifyRight`,`justifyCenter`,`justifyJustify`]},{key:`group-indent`,title:`缩进`,iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>`,menuKeys:[`indent`,`delIndent`]},`|`,`emotion`,{key:`group-image`,title:`图片`,iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>`,menuKeys:[`insertImage`,`uploadImage`]},{key:`group-video`,title:`视频`,iconSvg:`<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>`,menuKeys:[`insertVideo`,`uploadVideo`]},`insertTable`,`codeBlock`,`divider`,`|`,`fullScreen`]};a.mode===`sample`&&(s.toolbarKeys=[`bold`,`italic`,`underline`,`headerSelect`,`color`,`bgColor`,`uploadImage`,`insertTable`,`codeBlock`,`fullScreen`]);let c={placeholder:Mr.global.t(`editor.placeholder`),MENU_CONF:{uploadImage:{base64LimitSize:10*1024*1024,server:a.action,headers:a.headers,withCredentials:!0,timeout:30*1e3,maxFileSize:10*1024*1024,fieldName:`file`,meta:{source:`sys_user_guide`},customInsert(e,t,n){t(e.data.url,``,``)}},uploadVideo:{base64LimitSize:40*1024*1024,server:a.action,headers:a.headers,withCredentials:!0,timeout:30*1e3,maxFileSize:40*1024*1024,fieldName:`file`,meta:{source:`sys_user_guide`},customInsert(e,t,n){t(e.data.url,``,``)}}}},l=t=>{r.value=t,(0,e.nextTick)(()=>{})};return(0,e.onBeforeUnmount)(()=>{r.value?.destroy()}),o(),(a,o)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:`oga-editor`,style:(0,e.normalizeStyle)(n.value)},[(0,e.createVNode)((0,e.unref)(OOe),{class:`oga-editor-toolbar`,editor:r.value,defaultConfig:s,mode:t.mode},null,8,[`editor`,`mode`]),(0,e.createVNode)((0,e.unref)(wOe),{class:`oga-editor-container`,modelValue:i.value,"onUpdate:modelValue":o[0]||=e=>i.value=e,defaultConfig:c,mode:t.mode,onOnCreated:l},null,8,[`modelValue`,`mode`])],4))}}),AOe={install(e){e.component(`OgaEditor`,kOe)}},L3=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QeqRXhpZgAASUkqAAgAAAAMAAABAwABAAAAyAAAAAEBAwABAAAAyAAAAAIBAwADAAAAngAAAAYBAwABAAAAAgAAABIBAwABAAAAAQAAABUBAwABAAAAAwAAABoBBQABAAAApAAAABsBBQABAAAArAAAACgBAwABAAAAAgAAADEBAgAhAAAAtAAAADIBAgAUAAAA1QAAAGmHBAABAAAA7AAAACQBAAAIAAgACACA/AoAECcAAID8CgAQJwAAQWRvYmUgUGhvdG9zaG9wIDIxLjAgKE1hY2ludG9zaCkAMjAyMzowMjoyMSAxMToxNzoyNwAAAAAEAACQBwAEAAAAMDIzMQGgAwABAAAA//8AAAKgBAABAAAAyAAAAAOgBAABAAAAyAAAAAAAAAAAAAYAAwEDAAEAAAAGAAAAGgEFAAEAAAByAQAAGwEFAAEAAAB6AQAAKAEDAAEAAAACAAAAAQIEAAEAAACCAQAAAgIEAAEAAAAgBgAAAAAAAEgAAAABAAAASAAAAAEAAAD/2P/tAAxBZG9iZV9DTQAC/+4ADkFkb2JlAGSAAAAAAf/bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8VGBMTFRMTGBEMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAENCwsNDg0QDg4QFA4ODhQUDg4ODhQRDAwMDAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAoACgAwEiAAIRAQMRAf/dAAQACv/EAT8AAAEFAQEBAQEBAAAAAAAAAAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAABBAEDAgQCBQcGCAUDDDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVSwWIzNHKC0UMHJZJT8OHxY3M1FqKygyZEk1RkRcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9jdHV2d3h5ent8fX5/cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFRYXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MVY3M08SUGFqKygwcmNcLSRJNUoxdkRVU2dGXi8rOEw9N14/NGlKSFtJXE1OT0pbXF1eX1VmZ2hpamtsbW5vYnN0dXZ3eHl6e3x//aAAwDAQACEQMRAD8A9SSSSRQpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSU//0PUkkkkUKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklP/9H1JJJJFCkkkklKSSSSUpJJJJSkkkkkqSSSSUpJJJJCkkkklKSSSSUpJJJJT//S9SSSSRQpJJJJSkkkjwkpo5ORkvyTjYx2lvJ7zz5+Kj6PVv8AS/8ASH/kEqf+Vrf7X5GK+5zWNLnENa0SXFJTQ9Hq3+l/Fv8A5BL0erf6X8W/+QRD1XF3bYfHjAVquxlrA+shzT3CWvZWjR9Lq3+l/Fv/AJBL0urf6X8W/wDkFoJJWpz/AEerf6X/AKQ/8gpY2Rk15Ixsk7i7g9557R4K8s+7/lar4D/qXpKdBJJJJSkkkklKSSSSU//T9SSSSRQpJJJJSkkkkkufT/ytb/a/6lifqziKq2/mkkn4gS1NT/ytb/a/6liuZFDL6/Tfp3BHIPij1COjFmLjCsVhjXNI5gSf5W5VOmEtuuraZrGoPwMN/wA5L7FntHpC4enxG4gR/wBV/ZVvFxWY1e1p3OP0ncT4aIKTJJJJKUs+3/lar+z/ANS9aCz7f+Vqv7P/AFL0gougkkkklSSSSSFJJJJKf//U9SSSSRQpJJJJSkkkkkufT/ytb/a/6li0Fn0/8rW/2v8AqWIubm+j+jq91xgRE7Z/e/761IoDYN9IsFJeBYeGyprNHTbXVGx7/wBYJ3AEz/ZLv31Zwrrn0u+0NLDXoXO0kf8AmKSmySAJOgHJPCzrepu9WaWh1LT7j4ymuutzrPQo0pH0ndj5u/kq7VjVVVGoN3NP0pH0vikplVbXcwWVmWn7wqV3/K1X9n/qXqdGHdj5M1OnHM7wTr8P/IqF3/K1Xy/6l6Q6qLoJJJJKUkkkkpSSSSSn/9X1JJJJFCkkkklKSSSSU59P/K13kDp8mKzXh0V3PuEuc4kiYMT+4gZOPk15JycYbi7kd5On8FH1urf6L/ot/wDJoqdBUctuVk3fZ2tLKRBLzoD/AOSUfV6t/oh9zf8AyaXrdW/0X4N/8mgq25RTXSwMZoOTPJPiURZ/rdW/0X/Rb/5NL1urf6L/AKLf/JpUq3QWfd/ytV/Z/I9L1urf6L/ot/8AJp8fHyrMkZOSNpbwO8xHn4pKb6SSSSlJJJJKUkkkkp//1vUkkkkUKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklP/9f1JJJJFCkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJT//Q9SSSSRQpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSU//2f/tD35QaG90b3Nob3AgMy4wADhCSU0EBAAAAAAABxwCAAACAAAAOEJJTQQlAAAAAAAQ6PFc8y/BGKGie2etxWTVujhCSU0EOgAAAAABKwAAABAAAAABAAAAAAALcHJpbnRPdXRwdXQAAAAFAAAAAFBzdFNib29sAQAAAABJbnRlZW51bQAAAABJbnRlAAAAAENscm0AAAAPcHJpbnRTaXh0ZWVuQml0Ym9vbAAAAAALcHJpbnRlck5hbWVURVhUAAAAJABIAFAAIABMAGEAcwBlAHIASgBlAHQAIABQAHIAbwAgAE0ARgBQACAATQAyADIANgBkAHcAIAAoAEQANwAyAEQAQwA1ACkAAAAAAA9wcmludFByb29mU2V0dXBPYmpjAAAADABQAHIAbwBvAGYAIABTAGUAdAB1AHAAAAAAAApwcm9vZlNldHVwAAAAAQAAAABCbHRuZW51bQAAAAxidWlsdGluUHJvb2YAAAAJcHJvb2ZDTVlLADhCSU0EOwAAAAACLQAAABAAAAABAAAAAAAScHJpbnRPdXRwdXRPcHRpb25zAAAAFwAAAABDcHRuYm9vbAAAAAAAQ2xicmJvb2wAAAAAAFJnc01ib29sAAAAAABDcm5DYm9vbAAAAAAAQ250Q2Jvb2wAAAAAAExibHNib29sAAAAAABOZ3R2Ym9vbAAAAAAARW1sRGJvb2wAAAAAAEludHJib29sAAAAAABCY2tnT2JqYwAAAAEAAAAAAABSR0JDAAAAAwAAAABSZCAgZG91YkBv4AAAAAAAAAAAAEdybiBkb3ViQG/gAAAAAAAAAAAAQmwgIGRvdWJAb+AAAAAAAAAAAABCcmRUVW50RiNSbHQAAAAAAAAAAAAAAABCbGQgVW50RiNSbHQAAAAAAAAAAAAAAABSc2x0VW50RiNQeGxAUgAAAAAAAAAAAAp2ZWN0b3JEYXRhYm9vbAEAAAAAUGdQc2VudW0AAAAAUGdQcwAAAABQZ1BDAAAAAExlZnRVbnRGI1JsdAAAAAAAAAAAAAAAAFRvcCBVbnRGI1JsdAAAAAAAAAAAAAAAAFNjbCBVbnRGI1ByY0BZAAAAAAAAAAAAEGNyb3BXaGVuUHJpbnRpbmdib29sAAAAAA5jcm9wUmVjdEJvdHRvbWxvbmcAAAAAAAAADGNyb3BSZWN0TGVmdGxvbmcAAAAAAAAADWNyb3BSZWN0UmlnaHRsb25nAAAAAAAAAAtjcm9wUmVjdFRvcGxvbmcAAAAAADhCSU0D7QAAAAAAEABIAAAAAQABAEgAAAABAAE4QklNBCYAAAAAAA4AAAAAAAAAAAAAP4AAADhCSU0EDQAAAAAABAAAAB44QklNBBkAAAAAAAQAAAAeOEJJTQPzAAAAAAAJAAAAAAAAAAABADhCSU0nEAAAAAAACgABAAAAAAAAAAE4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEAL2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklNA/gAAAAAAHAAAP////////////////////////////8D6AAAAAD/////////////////////////////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////////8D6AAAOEJJTQQIAAAAAAAQAAAAAQAAAkAAAAJAAAAAADhCSU0EHgAAAAAABAAAAAA4QklNBBoAAAAAA0sAAAAGAAAAAAAAAAAAAADIAAAAyAAAAAsAcABsAGEAYwBlAGgAbwBsAGQAZQByAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAADIAAAAyAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAbnVsbAAAAAIAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3AgbG9uZwAAAAAAAAAATGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAAAyAAAAABSZ2h0bG9uZwAAAMgAAAAGc2xpY2VzVmxMcwAAAAFPYmpjAAAAAQAAAAAABXNsaWNlAAAAEgAAAAdzbGljZUlEbG9uZwAAAAAAAAAHZ3JvdXBJRGxvbmcAAAAAAAAABm9yaWdpbmVudW0AAAAMRVNsaWNlT3JpZ2luAAAADWF1dG9HZW5lcmF0ZWQAAAAAVHlwZWVudW0AAAAKRVNsaWNlVHlwZQAAAABJbWcgAAAABmJvdW5kc09iamMAAAABAAAAAAAAUmN0MQAAAAQAAAAAVG9wIGxvbmcAAAAAAAAAAExlZnRsb25nAAAAAAAAAABCdG9tbG9uZwAAAMgAAAAAUmdodGxvbmcAAADIAAAAA3VybFRFWFQAAAABAAAAAAAAbnVsbFRFWFQAAAABAAAAAAAATXNnZVRFWFQAAAABAAAAAAAGYWx0VGFnVEVYVAAAAAEAAAAAAA5jZWxsVGV4dElzSFRNTGJvb2wBAAAACGNlbGxUZXh0VEVYVAAAAAEAAAAAAAlob3J6QWxpZ25lbnVtAAAAD0VTbGljZUhvcnpBbGlnbgAAAAdkZWZhdWx0AAAACXZlcnRBbGlnbmVudW0AAAAPRVNsaWNlVmVydEFsaWduAAAAB2RlZmF1bHQAAAALYmdDb2xvclR5cGVlbnVtAAAAEUVTbGljZUJHQ29sb3JUeXBlAAAAAE5vbmUAAAAJdG9wT3V0c2V0bG9uZwAAAAAAAAAKbGVmdE91dHNldGxvbmcAAAAAAAAADGJvdHRvbU91dHNldGxvbmcAAAAAAAAAC3JpZ2h0T3V0c2V0bG9uZwAAAAAAOEJJTQQoAAAAAAAMAAAAAj/wAAAAAAAAOEJJTQQRAAAAAAABAQA4QklNBBQAAAAAAAQAAAABOEJJTQQMAAAAAAY8AAAAAQAAAKAAAACgAAAB4AABLAAAAAYgABgAAf/Y/+0ADEFkb2JlX0NNAAL/7gAOQWRvYmUAZIAAAAAB/9sAhAAMCAgICQgMCQkMEQsKCxEVDwwMDxUYExMVExMYEQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQ0LCw0ODRAODhAUDg4OFBQODg4OFBEMDAwMDBERDAwMDAwMEQwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCACgAKADASIAAhEBAxEB/90ABAAK/8QBPwAAAQUBAQEBAQEAAAAAAAAAAwABAgQFBgcICQoLAQABBQEBAQEBAQAAAAAAAAABAAIDBAUGBwgJCgsQAAEEAQMCBAIFBwYIBQMMMwEAAhEDBCESMQVBUWETInGBMgYUkaGxQiMkFVLBYjM0coLRQwclklPw4fFjczUWorKDJkSTVGRFwqN0NhfSVeJl8rOEw9N14/NGJ5SkhbSVxNTk9KW1xdXl9VZmdoaWprbG1ub2N0dXZ3eHl6e3x9fn9xEAAgIBAgQEAwQFBgcHBgU1AQACEQMhMRIEQVFhcSITBTKBkRShsUIjwVLR8DMkYuFygpJDUxVjczTxJQYWorKDByY1wtJEk1SjF2RFVTZ0ZeLys4TD03Xj80aUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9ic3R1dnd4eXp7fH/9oADAMBAAIRAxEAPwD1JJJJFCkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJT//Q9SSSSRQpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSU//0fUkkkkUKSSSSUpJJJJSkkkklKSSSSSpJJJJSkkkkkKSSSSUpJJJJSkkkklP/9L1JJJJFCkkkklKSSSPCSmjk5GS/JONjHaW8nvPPn4qPo9W/wBL/wBIf+QSp/5Wt/tfkYr7nNY0ucQ1rRJcUlND0erf6X8W/wDkEvR6t/pfxb/5BEPVcXdth8eMBWq7GWsD6yHNPcJa9laNH0urf6X8W/8AkEvS6t/pfxb/AOQWgklanP8AR6t/pf8ApD/yCljZGTXkjGyTuLuD3nntHgryz7v+VqvgP+pekp0EkkklKSSSSUpJJJJT/9P1JJJJFCkkkklKSSSSS59P/K1v9r/qWJ+rOIqrb+aSSfiBLU1P/K1v9r/qWK5kUMvr9N+ncEcg+KPUI6MWYuMKxWGNc0jmBJ/lblU6YS266tpmsag/Aw3/ADkvsWe0ekLh6fEbiBH/AFX9lW8XFZjV7Wnc4/SdxPhogpMkkkkpSz7f+Vqv7P8A1L1oLPt/5Wq/s/8AUvSCi6CSSSSVJJJJIUkkkkp//9T1JJJJFCkkkklKSSSSS59P/K1v9r/qWLQWfT/ytb/a/wCpYi5ub6P6Or3XGBETtn97/vrUigNg30iwUl4Fh4bKms0dNtdUbHv/AFgncATP9ku/fVnCuufS77Q0sNehc7SR/wCYpKbJIAk6Ack8LOt6m71ZpaHUtPuPjKa663Os9CjSkfSd2Pm7+SrtWNVVUag3c0/SkfS+KSmVVtdzBZWZafvCpXf8rVf2f+pep0Yd2PkzU6cczvBOvw/8ioXf8rVfL/qXpDqougkkkkpSSSSSlJJJJKf/1fUkkkkUKSSSSUpJJJJTn0/8rXeQOnyYrNeHRXc+4S5ziSJgxP7iBk4+TXknJxhuLuR3k6fwUfW6t/ov+i3/AMmip0FRy25WTd9na0spEEvOgP8A5JR9Xq3+iH3N/wDJpet1b/Rfg3/yaCrblFNdLAxmg5M8k+JRFn+t1b/Rf9Fv/k0vW6t/ov8Aot/8mlSrdBZ93/K1X9n8j0vW6t/ov+i3/wAmnx8fKsyRk5I2lvA7zEefikpvpJJJKUkkkkpSSSSSn//W9SSSSRQpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSU//1/UkkkkUKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklP/9D1JJJJFCkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJSkkkklKSSSSUpJJJJT//ZOEJJTQQhAAAAAABXAAAAAQEAAAAPAEEAZABvAGIAZQAgAFAAaABvAHQAbwBzAGgAbwBwAAAAFABBAGQAbwBiAGUAIABQAGgAbwB0AG8AcwBoAG8AcAAgADIAMAAyADAAAAABADhCSU0EBgAAAAAABwAIAQEAAQEA/+EN1mh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QjE2MjgwRjdBRTIxMTFFOUI0NjVBQkE5Q0Y0NjAxNEQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDMwZjU1YWQtNjkxYi00OTFjLTg5ZDctNTI4OTRhYWMzMDQzIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6QjE2MjgwRjdBRTIxMTFFOUI0NjVBQkE5Q0Y0NjAxNEQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgTWFjaW50b3NoIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMS0wNS0xOFQxODo0NTowMSswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjMtMDItMjFUMTE6MTc6MjcrMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMDItMjFUMTE6MTc6MjcrMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvanBlZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9IiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSIxODdEOTQ3MzlGMDc5RkFGQzA0NzczMkI1NTk2NkE2QiIgc3RSZWY6ZG9jdW1lbnRJRD0iMTg3RDk0NzM5RjA3OUZBRkMwNDc3MzJCNTU5NjZBNkIiLz4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NDMwZjU1YWQtNjkxYi00OTFjLTg5ZDctNTI4OTRhYWMzMDQzIiBzdEV2dDp3aGVuPSIyMDIzLTAyLTIxVDExOjE3OjI3KzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPD94cGFja2V0IGVuZD0idyI/Pv/uACFBZG9iZQBkQAAAAAEDABADAgMGAAAAAAAAAAAAAAAA/9sAhAAGBgYGBwYHCAgHCgsKCwoPDgwMDg8WEBEQERAWIhUZFRUZFSIeJB4cHiQeNiomJio2PjQyND5MRERMX1pffHynAQYGBgYHBgcICAcKCwoLCg8ODAwODxYQERAREBYiFRkVFRkVIh4kHhweJB42KiYmKjY+NDI0PkxERExfWl98fKf/wgARCADIAMgDASEAAhEBAxEB/8QALwABAQEBAQEBAQAAAAAAAAAAAAUDBAIGAQgBAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAA/qRYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUQAAAAAAAcfiz8ABp2KQAAAA47ItDUIFCfaZ7GdgAAAJ1mVIjULO1nQSdtSgzQAAAE+zHj1mpCj6tnYSdtZoM6AAAAT7MVk5Z9OxsJO2s0GdAAAAJ9mNY8e5Q8+iTtrNBnQAAACfZjWI9Q0nHz97U8bRQZ0AAAAn2Y8lmuNlCZL9JFl12soM6AAAAT7Oboso8Esr6QJZO2s0GdAAAAOOyLQ1HmPQCfaOxnQAAAAcmVgAGnYpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf/EADYQAAECBAIHBQcFAQEAAAAAAAECAwAEBREVNFFTgpGistESITAycxATICJBobExQFJhcHGB/9oACAEBAAE/AP8AN3KhJtqKVPC40An8RishruE9IxSQ13CrpGKSGu4VdIxSQ13CrpGKSGu4VdIxSQ13CrpGKSGu4VdIbqEm4oJQ8LnSCPz+wqDim5N5STY2H3Nop1OZmWVOOKV5iAAYwaU0ub4waU0ub4waU0ub4waU0ub4waU0ub4waU0ub4waU0ub4qNOZlmUuNqV5gCCYp7inJNlaj32P2NvHquQe2eaKNlD6hh11DSFLWoJSIXXGwqyWVEf2bRKT7EzcJJCv4n4azlB6gil5Bna5j49UyD2zzCKNlD6hituKLjTd+4J7UMSEs00lJaQo27yQCTE22JKfQWv07lW0f18NZyg9QRS8gztcx8eqZB7Z5hFGyh9QxVZJT6ErbF1Iv3aQYaq77SA2tsKKe65JG+JVh+dmg+6LIBBvawNvoPhrOUHqCKXkGdrmPj1TIPbPMIo2UPqH2KbbUbqQk/+A/B20BQSVDtEXAv7KzlB6gil5Bna5j49UyD2zzCKNlD6h9kzV2mXQhKe2AbKIMNOtvNpWhVwfZPz6JVFhZThHcOse4nVIM383mvf6/8AYp9QTMp7C7BwDfFZyg9QRS8gztcx8eqZB7Z5hFGyh9QxUKiVksS5JubFQ/AiWo7YZV77zqH0PliTZnZScDfYKm1HvNvlI0xPz6JZPZTYuEdw6xIyC5lfv5gmxN+/9VQAALAQ/SSX0uMLCPmuRoOkRWcoPUEUvIM7XMfHqmQe2eYRSUBcgtBJ+ZSh9ok6a1LEqKu2r+RHsqE4ZVoFKbqUbCJGQU+v38xcgm4B/VUAWHtrOUHqCKXkGdrmPj1BtTkm8hIubD7G8U6osyzKm3Eq8xIsIxmU0OboxmU0OboVVqesWWhagD9UgxjMpoc3RjMpoc3RjMpoc3RjMpoc3RUaizMspbbSrzAm4intqbk2UqFjYneb/sHKfJuKKlsi50Ej8RhchqeJXWMLkNTxK6xhchqeJXWMLkNTxK6xhchqeJXWMLkNTxK6xhchqeJXWEU+TbUFIZFxpJP5/wA4/8QAIREAAgEEAwEBAQEAAAAAAAAAAAERAhIwMRBCcSFgIDL/2gAIAQIBAT8A/JLLBaWluFDqLi4uG5S9wvY6eeq9wLaF/sTlxz1XuBbR2It+89V7gW0Pf8dV7gW0PfCRVEfDqsC2jsXTKF8UiZ1WBbQ3s24G5+cdV7gQ6WWssqLKhqFGGaiaiaiav0P/xAAiEQACAAUFAQEBAAAAAAAAAAAAAQIREjAxECEyQoFgIEH/2gAIAQMBAT8A+fmVFRVZZSUlJSJb2GdRRa9vLDwx8B41XLyw8M/hOblquXlh4YsL8Ll5YeGLCE9xi2O3lh4Z1JSkzLkNHbyw8MSHsLRcvLDFEicJOEnCT3syhKYSmEph+h//2Q==`;c((()=>{window._iconfont_svg_string_4982718=`<svg><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M886.47234271 835.97157219l-164.14782563-164.14782563a19.99851655 19.99851655 0 0 0-28.2779025 0c-0.79994062 0.79994062-1.19991094 1.79986687-1.79986687 2.67980063-94.67297813 92.23315969-243.42194625 105.15220125-354.09373781 30.31775156C209.12257958 617.62776594 174.48514864 442.68074094 260.91873739 314.7702275A276.97945781 276.97945781 0 0 1 388.3092899 212.05784563a282.85902094 282.85902094 0 0 1 263.26047468 28.71787031 282.85902094 282.85902094 0 0 1 124.91073562 233.38269094 276.29950781 276.29950781 0 0 1-20.95844531 106.95206718 19.99851655 19.99851655 0 0 0 36.95725875 15.27886688 315.53659781 315.53659781 0 0 0 23.99822063-122.39092219 322.8160575 322.8160575 0 0 0-142.50943125-266.38024406A322.77606094 322.77606094 0 0 0 373.51038739 174.98059531 316.57652063 316.57652063 0 0 0 227.76119708 292.41188656c-98.79267281 146.18915719-59.27560406 346.09433156 87.99347344 445.56695344a323.09603719 323.09603719 0 0 0 181.10656781 55.35589406 319.85627719 319.85627719 0 0 0 211.10434313-79.31411719l150.22885875 150.22885782a19.9185225 19.9185225 0 0 0 28.2779025 0 19.99851655 19.99851655 0 0 0 0-28.2779025" ></path></symbol><symbol id="icon-avatar" viewBox="0 0 1024 1024"><path d="M768 733.866667L674.133333 640H392.533333L298.666667 733.866667V810.666667h469.333333v-76.8z m42.666667-17.066667V853.333333H256v-136.533333L375.466667 597.333333h311.466666l123.733334 119.466667z m-85.333334-354.133333c0 106.666667-85.333333 192-192 192S341.333333 469.333333 341.333333 362.666667 426.666667 170.666667 533.333333 170.666667 725.333333 256 725.333333 362.666667z m-42.666666 0C682.666667 281.6 614.4 213.333333 533.333333 213.333333S384 281.6 384 362.666667s68.266667 149.333333 149.333333 149.333333S682.666667 443.733333 682.666667 362.666667z" ></path></symbol><symbol id="icon-group" viewBox="0 0 1024 1024"><path d="M682.666667 733.866667L588.8 640H307.2L213.333333 733.866667V810.666667h469.333334v-76.8z m42.666666-17.066667V853.333333H170.666667v-136.533333L290.133333 597.333333h311.466667l123.733333 119.466667z m42.666667 93.866667h42.666667v-76.8L716.8 640h-17.066667l-34.133333-42.666667h72.533333l119.466667 119.466667V853.333333h-85.333333l-4.266667-42.666666z m-234.666667-260.266667c25.6-8.533333 46.933333-21.333333 64-38.4 46.933333-8.533333 85.333333-51.2 85.333334-102.4v-85.333333c0-51.2-38.4-93.866667-85.333334-102.4-17.066667-17.066667-38.4-29.866667-64-38.4 12.8-4.266667 29.866667-4.266667 42.666667-4.266667C657.066667 170.666667 725.333333 238.933333 725.333333 320v85.333333c0 81.066667-68.266667 149.333333-149.333333 149.333334-17.066667 0-29.866667-4.266667-42.666667-4.266667z m-85.333333-379.733333C529.066667 170.666667 597.333333 238.933333 597.333333 320v85.333333c0 81.066667-68.266667 149.333333-149.333333 149.333334S298.666667 486.4 298.666667 405.333333v-85.333333C298.666667 238.933333 366.933333 170.666667 448 170.666667z m0 42.666666C388.266667 213.333333 341.333333 260.266667 341.333333 320v85.333333c0 59.733333 46.933333 106.666667 106.666667 106.666667S554.666667 465.066667 554.666667 405.333333v-85.333333C554.666667 260.266667 507.733333 213.333333 448 213.333333z" ></path></symbol><symbol id="icon-customer" viewBox="0 0 1024 1024"><path d="M426.666667 810.666667l42.666666 42.666666H256v-166.4L345.6 597.333333h59.733333l34.133334 42.666667H362.666667L298.666667 704V810.666667h128z m213.333333 0h128v-106.666667L704 640h-72.533333l34.133333-42.666667H725.333333l89.6 89.6V853.333333h-213.333333l38.4-42.666666z m-93.866667-145.066667l51.2 123.733333-64 64-64-64 51.2-123.733333L469.333333 597.333333h128l-51.2 68.266667zM725.333333 362.666667c0 106.666667-85.333333 192-192 192S341.333333 469.333333 341.333333 362.666667 426.666667 170.666667 533.333333 170.666667 725.333333 256 725.333333 362.666667z m-42.666666 0C682.666667 281.6 614.4 213.333333 533.333333 213.333333S384 281.6 384 362.666667s68.266667 149.333333 149.333333 149.333333S682.666667 443.733333 682.666667 362.666667z" ></path></symbol><symbol id="icon-user" viewBox="0 0 1024 1024"><path d="M597.333333 640h-128v42.666667h128v-42.666667z m42.666667 0v85.333333h-213.333333v-128h213.333333v42.666667z m-106.666667 256C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333z m106.666667-405.333333c0 59.733333-46.933333 106.666667-106.666667 106.666667S426.666667 507.733333 426.666667 448 473.6 341.333333 533.333333 341.333333 640 388.266667 640 448z m-42.666667 0c0-34.133333-29.866667-64-64-64s-64 29.866667-64 64 29.866667 64 64 64 64-29.866667 64-64z" ></path></symbol><symbol id="icon-video" viewBox="0 0 1024 1024"><path d="M810.666667 691.2V810.666667H128V256h682.666667v119.466667L896 298.666667v469.333333l-85.333333-76.8z m0-51.2l42.666666 38.4V388.266667l-42.666666 38.4v213.333333zM170.666667 298.666667v469.333333h597.333333V298.666667H170.666667z" ></path></symbol><symbol id="icon-cs" viewBox="0 0 1024 1024"><path d="M554.666667 810.666667v-42.666667h85.333333v42.666667h128v-384c-12.8-119.466667-110.933333-213.333333-234.666667-213.333334S311.466667 307.2 298.666667 426.666667v426.666666H213.333333v-298.666666h42.666667v-106.666667C256 294.4 379.733333 170.666667 533.333333 170.666667S810.666667 294.4 810.666667 448V554.666667h42.666666v298.666666h-298.666666v-42.666666z" ></path></symbol><symbol id="icon-brightness" viewBox="0 0 1024 1024"><path d="M533.333333 768c-128 0-234.666667-106.666667-234.666666-234.666667S405.333333 298.666667 533.333333 298.666667 768 405.333333 768 533.333333 661.333333 768 533.333333 768z m0-42.666667c106.666667 0 192-85.333333 192-192S640 341.333333 533.333333 341.333333 341.333333 426.666667 341.333333 533.333333s85.333333 192 192 192zM512 170.666667h42.666667v85.333333h-42.666667V170.666667z m0 640h42.666667v85.333333h-42.666667v-85.333333z m384-298.666667v42.666667h-85.333333v-42.666667h85.333333zM256 512v42.666667H170.666667v-42.666667h85.333333z m520.533333-251.733333l29.866667 29.866666-59.733333 59.733334-29.866667-29.866667 59.733333-59.733333zM324.266667 712.533333l29.866666 29.866667-59.733333 59.733333-29.866667-29.866666 59.733334-59.733334z m482.133333 64l-29.866667 29.866667-59.733333-59.733333 29.866667-29.866667 59.733333 59.733333zM354.133333 324.266667l-29.866666 29.866666-64-64 29.866666-29.866666 64 64z" ></path></symbol><symbol id="icon-contrast" viewBox="0 0 1024 1024"><path d="M384 810.666667h426.666667V384h-85.333334v341.333333H384v85.333334z m0 42.666666H341.333333v-128H213.333333V213.333333h512v128h128v512H384z m298.666667-469.333333H384v298.666667h298.666667V384z m0-42.666667V256H256v426.666667h85.333333V341.333333h341.333334z" ></path></symbol><symbol id="icon-face" viewBox="0 0 1024 1024"><path d="M682.666667 554.666667v21.333333c0 81.066667-68.266667 149.333333-149.333334 149.333333S384 657.066667 384 576V554.666667h42.666667v21.333333c0 59.733333 46.933333 106.666667 106.666666 106.666667s106.666667-46.933333 106.666667-106.666667V554.666667h42.666667zM213.333333 426.666667V213.333333h213.333334v42.666667H256v170.666667H213.333333z m0 213.333333h42.666667v170.666667h170.666667v42.666666H213.333333v-213.333333z m640-213.333333h-42.666666V256h-170.666667V213.333333h213.333333v213.333334z m0 213.333333v213.333333h-213.333333v-42.666666h170.666667v-170.666667h42.666666z m-384-256v85.333333h-42.666666V384h42.666666z m170.666667 0v85.333333h-42.666667V384h42.666667z" ></path></symbol><symbol id="icon-link" viewBox="0 0 1024 1024"><path d="M554.666667 494.933333l-29.866667-29.866666 89.6-89.6 29.866667 29.866666-89.6 89.6zM494.933333 554.666667l-123.733333 123.733333-29.866667-29.866667 123.733334-123.733333 29.866666 29.866667z m93.866667-34.133334l29.866667-29.866666 51.2 51.2 170.666666-170.666667-179.2-179.2-170.666666 170.666667 38.4 38.4-29.866667 29.866666L426.666667 358.4 657.066667 128l243.2 243.2-230.4 230.4-81.066667-81.066667z m-157.866667-25.6l-29.866666 29.866667-38.4-38.4-170.666667 170.666667 179.2 179.2 170.666667-170.666667-51.2-51.2 29.866666-29.866667 81.066667 81.066667L371.2 896 128 657.066667 358.4 426.666667l72.533333 68.266666z" ></path></symbol><symbol id="icon-flash" viewBox="0 0 1024 1024"><path d="M810.666667 469.333333L298.666667 896l102.4-341.333333H256l128-384h384l-98.133333 298.666666H810.666667z m-200.533334 42.666667l98.133334-298.666667H413.866667l-98.133334 298.666667h145.066667L384 772.266667l311.466667-260.266667h-85.333334z" ></path></symbol><symbol id="icon-key" viewBox="0 0 1024 1024"><path d="M469.333333 520.533333c-29.866667-38.4-46.933333-85.333333-46.933333-136.533333 0-119.466667 93.866667-213.333333 213.333333-213.333333s213.333333 93.866667 213.333334 213.333333-93.866667 213.333333-213.333334 213.333333c-51.2 0-98.133333-17.066667-132.266666-46.933333l-136.533334 136.533333 76.8 76.8-29.866666 29.866667-76.8-76.8-59.733334 59.733333L349.866667 853.333333l-29.866667 29.866667-76.8-76.8-29.866667-29.866667 256-256zM635.733333 213.333333c-93.866667 0-170.666667 76.8-170.666666 170.666667s76.8 170.666667 170.666666 170.666667 170.666667-76.8 170.666667-170.666667-76.8-170.666667-170.666667-170.666667z" ></path></symbol><symbol id="icon-voice" viewBox="0 0 1024 1024"><path d="M554.666667 768v85.333333h-42.666667v-85.333333c-136.533333-8.533333-243.2-119.466667-256-256h42.666667c12.8 119.466667 110.933333 213.333333 230.4 213.333333h4.266666c123.733333 0 221.866667-93.866667 230.4-213.333333h42.666667c-8.533333 136.533333-115.2 243.2-251.733333 256z m-21.333334-640C614.4 128 682.666667 196.266667 682.666667 277.333333v213.333334c0 81.066667-68.266667 149.333333-149.333334 149.333333S384 571.733333 384 490.666667v-213.333334C384 196.266667 448 128 533.333333 128z m0 42.666667C473.6 170.666667 426.666667 217.6 426.666667 277.333333v213.333334c0 59.733333 46.933333 106.666667 106.666666 106.666666s106.666667-46.933333 106.666667-106.666666v-213.333334C640 217.6 593.066667 170.666667 533.333333 170.666667z" ></path></symbol><symbol id="icon-safe" viewBox="0 0 1024 1024"><path d="M640 874.666667c0 34.133333-29.866667 64-64 64s-64-29.866667-64-64V597.333333H213.333333v-106.666666c0-170.666667 132.266667-307.2 298.666667-320V128h42.666667v42.666667c166.4 12.8 298.666667 149.333333 298.666666 320V597.333333h-298.666666v277.333334c0 12.8 8.533333 21.333333 21.333333 21.333333s21.333333-8.533333 21.333333-21.333333v-42.666667h42.666667v42.666667z m170.666667-320v-64C810.666667 337.066667 686.933333 213.333333 533.333333 213.333333S256 337.066667 256 490.666667V554.666667h554.666667z" ></path></symbol><symbol id="icon-code" viewBox="0 0 1024 1024"><path d="M725.333333 640h42.666667v42.666667h-85.333333v-42.666667h-42.666667v-42.666667h85.333333v42.666667z m-128 213.333333h-42.666666v-42.666666h42.666666v-42.666667h-42.666666v-42.666667h85.333333v85.333334h42.666667v42.666666h-85.333334z m213.333334-85.333333v42.666667h-42.666667v42.666666h-42.666667v-42.666666h-42.666666v-85.333334h42.666666v42.666667h42.666667v-85.333333h42.666667v42.666666h42.666666v42.666667h-42.666666zM213.333333 213.333333h298.666667v298.666667H213.333333V213.333333z m42.666667 42.666667v213.333333h213.333333V256H256z m298.666667-42.666667h298.666666v298.666667h-298.666666V213.333333z m42.666666 42.666667v213.333333h213.333334V256h-213.333334z m-384 298.666667h298.666667v298.666666H213.333333v-298.666666z m42.666667 42.666666v213.333334h213.333333v-213.333334H256z m341.333333-42.666666h42.666667v42.666666h-42.666667v-42.666666z m-42.666666 42.666666h42.666666v42.666667h-42.666666v-42.666667z m170.666666-42.666666h42.666667v42.666666h-42.666667v-42.666666z m42.666667 42.666666h42.666667v42.666667h-42.666667v-42.666667z m42.666667-42.666666h42.666666v42.666666h-42.666666v-42.666666z m0 85.333333h42.666666v42.666667h-42.666666v-42.666667z m-213.333334 0h42.666667v42.666667h-42.666667v-42.666667z m42.666667 42.666667h42.666667v42.666666h-42.666667v-42.666666z m170.666667 128h42.666666v42.666666h-42.666666v-42.666666z" ></path></symbol><symbol id="icon-info" viewBox="0 0 1024 1024"><path d="M469.333333 554.666667H384v128h85.333333v-128z m42.666667 0v170.666666H341.333333v-213.333333h170.666667v42.666667z m170.666667-170.666667H384v42.666667h298.666667V384z m42.666666 0v85.333333H341.333333V341.333333h384v42.666667zM213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z m298.666667 341.333333h170.666666v42.666667h-170.666666v-42.666667z m0-85.333333h170.666666v42.666667h-170.666666v-42.666667z m0 170.666667h170.666666v42.666666h-170.666666v-42.666666z" ></path></symbol><symbol id="icon-task" viewBox="0 0 1024 1024"><path d="M682.666667 725.333333v-85.333333h42.666666v213.333333h-42.666666v-85.333333H170.666667v-42.666667h512z m85.333333 0h85.333333v42.666667h-85.333333v-42.666667z m-298.666667-213.333333v-85.333333h42.666667v213.333333h-42.666667v-85.333333H170.666667v-42.666667h298.666666z m85.333334 0h298.666666v42.666667h-298.666666v-42.666667zM256 298.666667V213.333333h42.666667v213.333334H256V341.333333H170.666667V298.666667h85.333333z m85.333333 0h512v42.666666H341.333333V298.666667z" ></path></symbol><symbol id="icon-graphics" viewBox="0 0 1024 1024"><path d="M213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z m149.333333 256c-34.133333 0-64-29.866667-64-64S371.2 384 405.333333 384s64 29.866667 64 64-29.866667 64-64 64zM512 384h213.333333v42.666667h-213.333333V384z m0 85.333333h213.333333v42.666667h-213.333333v-42.666667z m-170.666667 85.333334h384v42.666666H341.333333v-42.666666z m0 85.333333h384v42.666667H341.333333v-42.666667z" ></path></symbol><symbol id="icon-add-list" viewBox="0 0 1024 1024"><path d="M725.333333 682.666667v-85.333334h42.666667v85.333334h85.333333v42.666666h-85.333333v85.333334h-42.666667v-85.333334h-85.333333v-42.666666h85.333333zM170.666667 256h682.666666v42.666667H170.666667V256z m0 426.666667h426.666666v42.666666H170.666667v-42.666666z m0-213.333334h682.666666v42.666667H170.666667v-42.666667z" ></path></symbol><symbol id="icon-save" viewBox="0 0 1024 1024"><path d="M725.333333 682.666667v128h85.333334V396.8L669.866667 256H256v554.666667h85.333333v-170.666667h42.666667v170.666667h298.666667v-128H384v-42.666667h341.333333v42.666667z m-38.4-469.333334L853.333333 379.733333V853.333333H213.333333V213.333333h473.6zM341.333333 341.333333h42.666667v213.333334H341.333333V341.333333z" ></path></symbol><symbol id="icon-label" viewBox="0 0 1024 1024"><path d="M448 853.333333L170.666667 576 576 170.666667H853.333333v277.333333L448 853.333333z m0-59.733333l362.666667-362.666667V213.333333h-217.6l-362.666667 362.666667 217.6 217.6zM682.666667 298.666667c25.6 0 42.666667 17.066667 42.666666 42.666666s-17.066667 42.666667-42.666666 42.666667-42.666667-17.066667-42.666667-42.666667 17.066667-42.666667 42.666667-42.666666z" ></path></symbol><symbol id="icon-pin" viewBox="0 0 1024 1024"><path d="M405.333333 430.933333l136.533334-136.533333-29.866667-29.866667L605.866667 170.666667l273.066666 273.066666-89.6 89.6-29.866666-29.866666-140.8 136.533333 59.733333 59.733333-89.6 89.6L256 460.8l89.6-89.6 59.733333 59.733333z m-89.6 29.866667l273.066667 273.066667 29.866667-29.866667-59.733334-64 200.533334-200.533333 29.866666 29.866666 29.866667-29.866666-209.066667-209.066667-29.866666 29.866667 29.866666 29.866666-200.533333 200.533334-59.733333-59.733334-34.133334 29.866667z m55.466667 192l29.866667 29.866667-200.533334 200.533333-29.866666-34.133333 200.533333-196.266667z" ></path></symbol><symbol id="icon-cancel" viewBox="0 0 1024 1024"><path d="M384 230.4L273.066667 341.333333H682.666667c119.466667 0 213.333333 93.866667 213.333333 213.333334s-93.866667 213.333333-213.333333 213.333333H298.666667v-42.666667h384c93.866667 0 170.666667-76.8 170.666666-170.666666s-76.8-170.666667-170.666666-170.666667H170.666667l42.666666-42.666667 140.8-140.8 29.866667 29.866667z" ></path></symbol><symbol id="icon-list" viewBox="0 0 1024 1024"><path d="M170.666667 298.666667h682.666666v42.666666H170.666667V298.666667z m0 426.666666h426.666666v42.666667H170.666667v-42.666667z m0-213.333333h682.666666v42.666667H170.666667v-42.666667z" ></path></symbol><symbol id="icon-wallet" viewBox="0 0 1024 1024"><path d="M853.333333 640v170.666667H128V256h725.333333v170.666667h42.666667v213.333333h-42.666667z m0-170.666667h-149.333333c-34.133333 0-64 29.866667-64 64s29.866667 64 64 64H853.333333v-128z m-42.666666-42.666666V298.666667H170.666667v469.333333h640v-128h-106.666667c-59.733333 0-106.666667-46.933333-106.666667-106.666667s46.933333-106.666667 106.666667-106.666666H810.666667z" ></path></symbol><symbol id="icon-bill-empty" viewBox="0 0 1024 1024"><path d="M640 256v42.666667h-213.333333V234.666667c0-8.533333 0-12.8 4.266666-21.333334H298.666667v640h469.333333V213.333333h-132.266667c4.266667 8.533333 4.266667 12.8 4.266667 21.333334V256z m-170.666667 0h128v-21.333333c0-34.133333-29.866667-64-64-64S469.333333 200.533333 469.333333 234.666667V256z m-21.333333-85.333333c21.333333-25.6 51.2-42.666667 85.333333-42.666667s64 17.066667 85.333334 42.666667H810.666667v725.333333H256V170.666667h192z" ></path></symbol><symbol id="icon-bill-new" viewBox="0 0 1024 1024"><path d="M512 554.666667v-85.333334h42.666667v85.333334h85.333333v42.666666h-85.333333v85.333334h-42.666667v-85.333334h-85.333333v-42.666666h85.333333z m128-298.666667v42.666667h-213.333333V234.666667c0-8.533333 0-12.8 4.266666-21.333334H298.666667v640h469.333333V213.333333h-132.266667c4.266667 8.533333 4.266667 12.8 4.266667 21.333334V256z m-170.666667 0h128v-21.333333c0-34.133333-29.866667-64-64-64S469.333333 200.533333 469.333333 234.666667V256z m-21.333333-85.333333c21.333333-25.6 51.2-42.666667 85.333333-42.666667s64 17.066667 85.333334 42.666667H810.666667v725.333333H256V170.666667h192z" ></path></symbol><symbol id="icon-bill-complete" viewBox="0 0 1024 1024"><path d="M520.533333 597.333333l128-128 29.866667 29.866667-153.6 153.6-110.933333-110.933333 29.866666-29.866667 76.8 85.333333zM640 256v42.666667h-213.333333V234.666667c0-8.533333 0-12.8 4.266666-21.333334H298.666667v640h469.333333V213.333333h-132.266667c4.266667 8.533333 4.266667 12.8 4.266667 21.333334V256z m-42.666667 0v-21.333333c0-34.133333-29.866667-64-64-64S469.333333 200.533333 469.333333 234.666667V256h128z m-149.333333-85.333333c21.333333-25.6 51.2-42.666667 85.333333-42.666667s64 17.066667 85.333334 42.666667H810.666667v725.333333H256V170.666667h192z" ></path></symbol><symbol id="icon-sign-in" viewBox="0 0 1024 1024"><path d="M810.666667 550.4c-59.733333 51.2-170.666667 89.6-298.666667 89.6s-238.933333-34.133333-298.666667-89.6V597.333333c0 72.533333 132.266667 128 298.666667 128s298.666667-55.466667 298.666667-128v-46.933333z m0-81.066667V422.4c-59.733333 51.2-170.666667 89.6-298.666667 89.6s-238.933333-34.133333-298.666667-89.6V469.333333c0 72.533333 132.266667 128 298.666667 128s298.666667-55.466667 298.666667-128z m42.666666-128v384c0 93.866667-153.6 170.666667-341.333333 170.666667s-341.333333-76.8-341.333333-170.666667V341.333333c0-93.866667 153.6-170.666667 341.333333-170.666666s341.333333 76.8 341.333333 170.666666z m-42.666666 384v-46.933333c-59.733333 51.2-170.666667 89.6-298.666667 89.6s-238.933333-34.133333-298.666667-89.6V725.333333c0 72.533333 132.266667 128 298.666667 128s298.666667-55.466667 298.666667-128z m-298.666667-256c166.4 0 298.666667-55.466667 298.666667-128s-132.266667-128-298.666667-128-298.666667 55.466667-298.666667 128 132.266667 128 298.666667 128z" ></path></symbol><symbol id="icon-car" viewBox="0 0 1024 1024"><path d="M213.333333 810.666667H170.666667V384h85.333333V213.333333h554.666667v170.666667h85.333333v426.666667h-42.666667v42.666666h-85.333333v-42.666666H298.666667v42.666666H213.333333v-42.666666zM768 384V256H298.666667v128h469.333333z m42.666667 42.666667H213.333333v341.333333h640v-341.333333h-42.666666zM384 640c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666667 42.666666-17.066667 42.666667-42.666667 42.666667z m298.666667 0c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666666 42.666666-17.066667 42.666667-42.666666 42.666667z" ></path></symbol><symbol id="icon-truck" viewBox="0 0 1024 1024"><path d="M896 490.666667V768h-89.6c-8.533333 25.6-34.133333 42.666667-59.733333 42.666667s-51.2-17.066667-59.733334-42.666667H337.066667c-8.533333 25.6-34.133333 42.666667-59.733334 42.666667s-51.2-17.066667-59.733333-42.666667H128V256h597.333333v128h64l106.666667 106.666667zM682.666667 384V298.666667H170.666667v426.666666h512V384z m42.666666 42.666667v298.666666h128v-213.333333l-85.333333-85.333333h-42.666667z" ></path></symbol><symbol id="icon-pack" viewBox="0 0 1024 1024"><path d="M597.333333 640V298.666667h-170.666666v469.333333h170.666666v-128z m42.666667 0v128h170.666667V384h-170.666667v213.333333h170.666667v42.666667h-170.666667z m170.666667-298.666667h42.666666v469.333334H170.666667v-384h213.333333V256h256v85.333333h170.666667zM384 640H213.333333v-42.666667h170.666667v-128H213.333333v298.666667h170.666667v-128z m213.333333-128v42.666667h-170.666666v-42.666667h170.666666z" ></path></symbol><symbol id="icon-shop" viewBox="0 0 1024 1024"><path d="M810.666667 256H213.333333v213.333333c0 46.933333 38.4 85.333333 85.333334 85.333334s85.333333-38.4 85.333333-85.333334v-42.666666h42.666667v42.666666c0 46.933333 38.4 85.333333 85.333333 85.333334s85.333333-38.4 85.333333-85.333334v-42.666666h42.666667v42.666666c0 46.933333 38.4 85.333333 85.333333 85.333334s85.333333-38.4 85.333334-85.333334V256z m0-42.666667h42.666666v256c0 38.4-17.066667 72.533333-42.666666 93.866667V853.333333H213.333333v-290.133333c-25.6-21.333333-42.666667-55.466667-42.666666-93.866667V213.333333h640z m-42.666667 375.466667c-12.8 4.266667-25.6 8.533333-42.666667 8.533333-42.666667 0-85.333333-21.333333-106.666666-55.466666C597.333333 576 554.666667 597.333333 512 597.333333s-85.333333-21.333333-106.666667-55.466666C384 576 341.333333 597.333333 298.666667 597.333333c-17.066667 0-29.866667-4.266667-42.666667-8.533333V810.666667h512v-221.866667z" ></path></symbol><symbol id="icon-logout" viewBox="0 0 1024 1024"><path d="M874.666667 512l-55.466667-55.466667 29.866667-29.866666 106.666666 106.666666-106.666666 106.666667-29.866667-29.866667 55.466667-55.466666H554.666667v-42.666667h320zM725.333333 426.666667h-42.666666V256H298.666667v554.666667h384v-170.666667h42.666666v213.333333H256V213.333333h469.333333v213.333334z" ></path></symbol><symbol id="icon-personal" viewBox="0 0 1024 1024"><path d="M469.333333 682.666667c0-46.933333-38.4-85.333333-85.333333-85.333334s-85.333333 38.4-85.333333 85.333334H256c0-72.533333 55.466667-128 128-128s128 55.466667 128 128h-42.666667zM896 256v554.666667H170.666667V256h725.333333zM213.333333 298.666667v469.333333h640V298.666667H213.333333z m597.333334 128v42.666666h-256v-42.666666h256z m0 85.333333v42.666667h-256v-42.666667h256z m-42.666667 85.333333v42.666667h-213.333333v-42.666667h213.333333z m-384-42.666666c-46.933333 0-85.333333-38.4-85.333333-85.333334s38.4-85.333333 85.333333-85.333333 85.333333 38.4 85.333333 85.333333-38.4 85.333333-85.333333 85.333334z m0-42.666667c25.6 0 42.666667-17.066667 42.666667-42.666667s-17.066667-42.666667-42.666667-42.666666-42.666667 17.066667-42.666667 42.666666 17.066667 42.666667 42.666667 42.666667z" ></path></symbol><symbol id="icon-print" viewBox="0 0 1024 1024"><path d="M341.333333 640v170.666667h384v-170.666667H341.333333z m-42.666666 42.666667H170.666667V341.333333h128V170.666667h469.333333v170.666666h128v341.333334h-128v170.666666H298.666667v-170.666666z m42.666666-298.666667H213.333333v256h42.666667v-42.666667h554.666667v42.666667h42.666666V384H341.333333z m0-42.666667h384V213.333333H341.333333v128z m-85.333333 85.333334h128v42.666666H256v-42.666666z" ></path></symbol><symbol id="icon-edit" viewBox="0 0 1024 1024"><path d="M541.866667 238.933333l243.2 243.2L413.866667 853.333333H170.666667v-243.2l371.2-371.2z m0 59.733334L213.333333 631.466667V810.666667h179.2l328.533334-328.533334L541.866667 298.666667z m72.533333-128L853.333333 413.866667l-29.866666 29.866666-243.2-243.2 34.133333-29.866666z" ></path></symbol><symbol id="icon-laptop" viewBox="0 0 1024 1024"><path d="M896 256v469.333333H170.666667V256h725.333333zM213.333333 298.666667v384h640V298.666667H213.333333z m725.333334 469.333333v42.666667H128v-42.666667h810.666667z" ></path></symbol><symbol id="icon-copy" viewBox="0 0 1024 1024"><path d="M725.333333 341.333333h128v512H341.333333v-128H213.333333V213.333333h512v128z m0 42.666667v341.333333H384v85.333334h426.666667V384h-85.333334zM256 256v426.666667h426.666667V256H256z" ></path></symbol><symbol id="icon-lock" viewBox="0 0 1024 1024"><path d="M256 426.666667h554.666667v469.333333H256V426.666667z m42.666667 42.666666v384h469.333333v-384H298.666667z m42.666666 0H256v-42.666666h85.333333V362.666667C341.333333 256 426.666667 170.666667 533.333333 170.666667S725.333333 256 725.333333 362.666667V426.666667h85.333334v42.666666h-128V362.666667C682.666667 281.6 614.4 213.333333 533.333333 213.333333S384 281.6 384 362.666667V469.333333H341.333333z m192 256c-34.133333 0-64-29.866667-64-64s29.866667-64 64-64 64 29.866667 64 64-29.866667 64-64 64z" ></path></symbol><symbol id="icon-vs" viewBox="0 0 1024 1024"><path d="M896 256v554.666667H170.666667V256h725.333333zM213.333333 298.666667v469.333333h640V298.666667H213.333333z m298.666667 64h-51.2l-55.466667 285.866666-55.466666-285.866666H298.666667L379.733333 725.333333H426.666667l85.333333-362.666666z m213.333333 256c0-59.733333-8.533333-85.333333-51.2-102.4l-38.4-17.066667c-29.866667-12.8-34.133333-25.6-34.133333-59.733333 0-21.333333 4.266667-34.133333 12.8-46.933334 4.266667-4.266667 12.8-8.533333 25.6-8.533333s21.333333 4.266667 29.866667 12.8c8.533333 12.8 12.8 25.6 12.8 46.933333h42.666666c0-34.133333-4.266667-59.733333-25.6-76.8-12.8-17.066667-34.133333-25.6-59.733333-25.6-25.6 0-42.666667 8.533333-55.466667 21.333334-17.066667 17.066667-25.6 42.666667-25.6 76.8 0 55.466667 12.8 76.8 46.933334 93.866666l42.666666 17.066667c29.866667 12.8 34.133333 25.6 34.133334 68.266667 0 25.6 0 38.4-12.8 51.2-4.266667 8.533333-17.066667 12.8-29.866667 12.8-12.8 0-25.6-4.266667-29.866667-12.8-8.533333-8.533333-12.8-25.6-12.8-51.2h-42.666666c0 38.4 4.266667 64 21.333333 81.066666 12.8 12.8 34.133333 21.333333 64 21.333334s51.2-8.533333 64-21.333334c17.066667-17.066667 21.333333-38.4 21.333333-81.066666z" ></path></symbol><symbol id="icon-bag" viewBox="0 0 1024 1024"><path d="M853.333333 384h-170.666666v93.866667-8.533334h-42.666667V384h-213.333333v85.333333H384V384H213.333333v426.666667h640V384z m42.666667 0v469.333333H170.666667V341.333333h213.333333v-21.333333C384 238.933333 452.266667 170.666667 533.333333 170.666667S682.666667 238.933333 682.666667 320V341.333333h213.333333v42.666667zM426.666667 341.333333h213.333333v-21.333333C640 260.266667 593.066667 213.333333 533.333333 213.333333S426.666667 260.266667 426.666667 320V341.333333z" ></path></symbol><symbol id="icon-gift" viewBox="0 0 1024 1024"><path d="M512 512V307.2l-8.533333-8.533333H256v213.333333h256z m42.666667 0h256V298.666667h-247.466667l-8.533333 8.533333V512z m-42.666667 42.666667H256v213.333333h554.666667v-213.333333h-256v213.333333h-42.666667v-213.333333z m55.466667-298.666667H853.333333v554.666667H213.333333V256h285.866667L401.066667 157.866667l29.866666-29.866667 102.4 102.4L635.733333 128l29.866667 29.866667L567.466667 256z" ></path></symbol><symbol id="icon-en" viewBox="0 0 1024 1024"><path d="M682.666667 554.666667h-85.333334v128h-42.666666v-170.666667h170.666666v170.666667h-42.666666v-128z m-298.666667 85.333333h128v42.666667H341.333333V384h170.666667v42.666667H384v85.333333h128v42.666667H384v85.333333zM213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z" ></path></symbol><symbol id="icon-theme" viewBox="0 0 1024 1024"><path d="M533.333333 853.333333c179.2 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333c0 93.866667 34.133333 132.266667 115.2 157.866667 8.533333 4.266667 12.8 4.266667 21.333334 8.533333 4.266667 0 21.333333 4.266667 21.333333 8.533334 51.2 17.066667 76.8 25.6 98.133333 51.2 17.066667 17.066667 29.866667 38.4 42.666667 59.733333 4.266667 8.533333 8.533333 17.066667 8.533333 21.333333 8.533333 0 8.533333 8.533333 12.8 12.8z m0 42.666667c-59.733333 0-21.333333-42.666667-89.6-110.933333-64-64-273.066667-25.6-273.066666-251.733334C170.666667 332.8 332.8 170.666667 533.333333 170.666667S896 332.8 896 533.333333 733.866667 896 533.333333 896z m72.533334-106.666667c-42.666667 0-76.8-34.133333-76.8-76.8s34.133333-72.533333 76.8-72.533333 76.8 34.133333 76.8 72.533333-34.133333 76.8-76.8 76.8z m0-42.666666c17.066667 0 34.133333-12.8 34.133333-34.133334s-12.8-29.866667-34.133333-29.866666-34.133333 12.8-34.133334 29.866666 17.066667 34.133333 34.133334 34.133334zM640 384c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666667 42.666666-17.066667 42.666667-42.666667 42.666667z m-119.466667-34.133333c-25.6 0-42.666667-17.066667-42.666666-42.666667s17.066667-42.666667 42.666666-42.666667 42.666667 17.066667 42.666667 42.666667-17.066667 42.666667-42.666667 42.666667zM725.333333 469.333333c-25.6 0-42.666667-17.066667-42.666666-42.666666s17.066667-42.666667 42.666666-42.666667 42.666667 17.066667 42.666667 42.666667-17.066667 42.666667-42.666667 42.666666zM405.333333 384c-25.6 0-42.666667-17.066667-42.666666-42.666667s17.066667-42.666667 42.666666-42.666666 42.666667 17.066667 42.666667 42.666666-17.066667 42.666667-42.666667 42.666667z" ></path></symbol><symbol id="icon-wand" viewBox="0 0 1024 1024"><path d="M507.733333 529.066667l76.8 136.533333 115.2-106.666667 153.6-34.133333L789.333333 384l17.066667-153.6-153.6 17.066667L512 183.466667l-34.133333 153.6-106.666667 115.2 136.533333 76.8z m-46.933333 21.333333l-157.866667-89.6 132.266667-145.066667 42.666667-192 179.2 81.066667 196.266666-25.6-21.333333 196.266667 81.066667 179.2-192 42.666666-145.066667 132.266667-85.333333-149.333333-281.6 281.6-29.866667-29.866667 281.6-281.6z" ></path></symbol><symbol id="icon-diamond" viewBox="0 0 1024 1024"><path d="M401.066667 426.666667h264.533333l-98.133333-170.666667h-68.266667l-98.133333 170.666667z m4.266666 42.666666l128 324.266667 128-324.266667h-256z m452.266667-42.666666l-123.733333-170.666667h-119.466667l98.133333 170.666667h145.066667z m21.333333 42.666666h-170.666666l-123.733334 311.466667 294.4-311.466667zM209.066667 426.666667h140.8l98.133333-170.666667H332.8l-123.733333 170.666667z m-21.333334 42.666666l294.4 311.466667L362.666667 469.333333H187.733333z m345.6 426.666667L128 465.066667 307.2 213.333333h448l179.2 251.733334L533.333333 896z" ></path></symbol><symbol id="icon-cn" viewBox="0 0 1024 1024"><path d="M554.666667 469.333333v128h128v-128h-128z m-42.666667 0H384v128h128v-128z m42.666667-42.666666h170.666666v213.333333h-170.666666v85.333333h-42.666667v-85.333333H341.333333v-213.333333h170.666667V341.333333h42.666667v85.333334z m298.666666-213.333334v640H213.333333V213.333333h640zM256 256v554.666667h554.666667V256H256z" ></path></symbol><symbol id="icon-help" viewBox="0 0 1024 1024"><path d="M512 618.666667v-42.666667c0-12.8 8.533333-21.333333 21.333333-21.333333 34.133333 0 64-29.866667 64-64v-42.666667c0-34.133333-29.866667-64-64-64s-64 29.866667-64 64v42.666667c0 8.533333 0 12.8 4.266667 21.333333h-42.666667c0-8.533333-4.266667-12.8-4.266666-21.333333v-42.666667C426.666667 388.266667 473.6 341.333333 533.333333 341.333333S640 388.266667 640 448v42.666667c0 51.2-38.4 93.866667-85.333333 102.4V640h-42.666667v-21.333333z m21.333333 277.333333C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333z m-21.333333-170.666666h42.666667v42.666666h-42.666667v-42.666666z" ></path></symbol><symbol id="icon-tiers" viewBox="0 0 1024 1024"><path d="M324.266667 541.866667l42.666666 25.6L256 627.2l264.533333 153.6 264.533334-153.6-110.933334-64 42.666667-25.6 153.6 89.6-349.866667 200.533333L170.666667 627.2l153.6-85.333333z m550.4-170.666667l-349.866667 204.8L170.666667 371.2 520.533333 170.666667l354.133334 200.533333z m-354.133334-149.333333L256 371.2l264.533333 153.6 264.533334-153.6-264.533334-149.333333z" ></path></symbol><symbol id="icon-navigate" viewBox="0 0 1024 1024"><path d="M409.6 661.333333l-256-119.466666 721.066667-345.6-345.6 721.066666-119.466667-256z m34.133333-34.133333l85.333334 187.733333 260.266666-537.6L256 541.866667l187.733333 85.333333z" ></path></symbol><symbol id="icon-correct" viewBox="0 0 1024 1024"><path d="M422.4 802.133333L128 512l29.866667-29.866667 264.533333 264.533334L908.8 256l29.866667 29.866667L422.4 802.133333z" ></path></symbol><symbol id="icon-android" viewBox="0 0 1024 1024"><path d="M469.333333 170.666667h85.333334v85.333333h-85.333334V170.666667z m0 298.666666h85.333334v85.333334h-85.333334v-85.333334z m0 298.666667h85.333334v85.333333h-85.333334v-85.333333z" ></path></symbol><symbol id="icon-incorrect" viewBox="0 0 1024 1024"><path d="M558.933333 529.066667l285.866667 285.866666-29.866667 29.866667-285.866666-285.866667-285.866667 285.866667-29.866667-29.866667 285.866667-285.866666L213.333333 243.2l29.866667-29.866667 285.866667 285.866667L814.933333 213.333333l29.866667 29.866667-285.866667 285.866667z" ></path></symbol><symbol id="icon-table" viewBox="0 0 1024 1024"><path d="M384 384V256h42.666667v128h384V256H256v128h128z m0 42.666667H256v384h554.666667v-384h-384v384H384v-384zM213.333333 213.333333h640v640H213.333333V213.333333z" ></path></symbol><symbol id="icon-about" viewBox="0 0 1024 1024"><path d="M512 640v-170.666667h-42.666667v-42.666666h85.333334v213.333333h42.666666v42.666667h-128v-42.666667h42.666667z m21.333333 256C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333zM554.666667 341.333333v42.666667h-42.666667V341.333333h42.666667z" ></path></symbol><symbol id="icon-plus" viewBox="0 0 1024 1024"><path d="M512 512V170.666667h42.666667v341.333333h341.333333v42.666667h-341.333333v341.333333h-42.666667v-341.333333H170.666667v-42.666667h341.333333z" ></path></symbol><symbol id="icon-equal" viewBox="0 0 1024 1024"><path d="M213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z m426.666667 170.666667v42.666666H384v-42.666666h298.666667z m0 170.666666v42.666667H384v-42.666667h298.666667z" ></path></symbol><symbol id="icon-minus" viewBox="0 0 1024 1024"><path d="M128 512h768v46.933333H128z" ></path></symbol><symbol id="icon-switch" viewBox="0 0 1024 1024"><path d="M469.333333 174.933333v42.666667c-145.066667 29.866667-256 157.866667-256 311.466667 0 174.933333 145.066667 320 320 320s320-145.066667 320-320c0-153.6-110.933333-285.866667-256-311.466667v-42.666667c170.666667 29.866667 298.666667 179.2 298.666667 358.4 0 200.533333-162.133333 362.666667-362.666667 362.666667S170.666667 733.866667 170.666667 533.333333c0-179.2 128-328.533333 298.666666-358.4z m42.666667-4.266666h42.666667v170.666666h-42.666667V170.666667z" ></path></symbol><symbol id="icon-refresh" viewBox="0 0 1024 1024"><path d="M640 921.6V981.333333l-85.333333-85.333333-42.666667-42.666667h21.333333c174.933333 0 320-145.066667 320-320 0-145.066667-93.866667-264.533333-226.133333-307.2L571.733333 170.666667c183.466667 21.333333 324.266667 174.933333 324.266667 358.4 0 174.933333-123.733333 320-290.133333 354.133333l34.133333 38.4zM426.666667 145.066667V85.333333l85.333333 85.333334 42.666667 42.666666h-21.333334C358.4 213.333333 213.333333 354.133333 213.333333 533.333333c0 140.8 93.866667 264.533333 221.866667 302.933334l55.466667 55.466666c-179.2-21.333333-320-170.666667-320-358.4C170.666667 358.4 294.4 213.333333 460.8 179.2l-34.133333-34.133333z" ></path></symbol><symbol id="icon-disable" viewBox="0 0 1024 1024"><path d="M533.333333 896C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333zM396.8 366.933333l307.2 307.2-29.866667 29.866667-307.2-307.2 29.866667-29.866667z" ></path></symbol><symbol id="icon-setting" viewBox="0 0 1024 1024"><path d="M256 755.2l55.466667-17.066667 17.066666 12.8c21.333333 12.8 38.4 25.6 64 38.4l21.333334 8.533334 8.533333 55.466666h145.066667l12.8-55.466666 21.333333-8.533334c21.333333-8.533333 42.666667-21.333333 64-38.4l17.066667-12.8 55.466666 17.066667 72.533334-128-42.666667-38.4 4.266667-21.333333c0-12.8 4.266667-25.6 4.266666-38.4s0-25.6-4.266666-38.4l-4.266667-17.066667 42.666667-38.4-72.533334-128-55.466666 21.333333-17.066667-12.8c-21.333333-12.8-38.4-25.6-64-38.4l-21.333333-8.533333-12.8-55.466667H422.4l-12.8 55.466667-21.333333 8.533333c-21.333333 8.533333-42.666667 21.333333-59.733334 34.133334l-21.333333 17.066666L256 311.466667l-72.533333 128 42.666666 38.4-4.266666 21.333333c0 12.8-4.266667 25.6-4.266667 38.4s0 25.6 4.266667 38.4l4.266666 21.333333-42.666666 38.4L256 755.2z m-76.8-179.2c0-12.8-4.266667-25.6-4.266667-42.666667s0-29.866667 4.266667-42.666666L128 443.733333l106.666667-183.466666 64 21.333333c21.333333-17.066667 46.933333-29.866667 72.533333-42.666667L388.266667 170.666667h213.333333l17.066667 68.266666c25.6 12.8 51.2 25.6 72.533333 42.666667l64-21.333333 106.666667 183.466666-51.2 46.933334c0 12.8 4.266667 25.6 4.266666 42.666666s0 29.866667-4.266666 42.666667l51.2 46.933333-106.666667 183.466667-64-21.333333c-21.333333 17.066667-46.933333 29.866667-72.533333 42.666666l-17.066667 68.266667h-213.333333l-17.066667-68.266667c-25.6-12.8-51.2-25.6-72.533333-42.666666l-64 21.333333L128 622.933333l51.2-46.933333z m315.733333 64c59.733333 0 106.666667-46.933333 106.666667-106.666667S554.666667 426.666667 494.933333 426.666667s-106.666667 46.933333-106.666666 106.666666 46.933333 106.666667 106.666666 106.666667z m0 42.666667c-81.066667 0-149.333333-68.266667-149.333333-149.333334S413.866667 384 494.933333 384s149.333333 68.266667 149.333334 149.333333-68.266667 149.333333-149.333334 149.333334z" ></path></symbol><symbol id="icon-scan" viewBox="0 0 1024 1024"><path d="M213.333333 426.666667V213.333333h213.333334v42.666667H256v170.666667H213.333333z m0 213.333333h42.666667v170.666667h170.666667v42.666666H213.333333v-213.333333z m640-213.333333h-42.666666V256h-170.666667V213.333333h213.333333v213.333334z m0 213.333333v213.333333h-213.333333v-42.666666h170.666667v-170.666667h42.666666z m0-128v42.666667H213.333333v-42.666667h640z" ></path></symbol><symbol id="icon-home" viewBox="0 0 1024 1024"><path d="M601.6 810.666667v-128h-128v128h128z m42.666667 0h213.333333v-260.266667l-320-320-320 320V810.666667h213.333333v-170.666667h213.333334v170.666667z m256-234.666667V853.333333h-725.333334v-277.333333H128L533.333333 170.666667l405.333334 405.333333h-38.4z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M256 256h554.666667v640H256V256z m42.666667 42.666667v554.666666h469.333333V298.666667H298.666667z m128 128h42.666666v298.666666h-42.666666v-298.666666z m170.666666 0h42.666667v298.666666h-42.666667v-298.666666zM213.333333 256h640v42.666667H213.333333V256z m213.333334-85.333333h213.333333v42.666666h-213.333333V170.666667z" ></path></symbol><symbol id="icon-frame" viewBox="0 0 1024 1024"><path d="M426.666667 426.666667v384H384v-384H256V384h554.666667v42.666667h-384zM213.333333 213.333333h640v640H213.333333V213.333333z m42.666667 42.666667v554.666667h554.666667V256H256z" ></path></symbol><symbol id="icon-more" viewBox="0 0 1024 1024"><path d="M170.666667 469.333333h85.333333v85.333334H170.666667zM469.333333 469.333333h85.333334v85.333334h-85.333334zM768 469.333333h85.333333v85.333334h-85.333333z" ></path></symbol><symbol id="icon-app" viewBox="0 0 1024 1024"><path d="M213.333333 554.666667h298.666667v298.666666H213.333333v-298.666666z m42.666667 42.666666v213.333334h213.333333v-213.333334H256zM213.333333 213.333333h298.666667v298.666667H213.333333V213.333333z m42.666667 42.666667v213.333333h213.333333V256H256z m298.666667-42.666667h298.666666v298.666667h-298.666666V213.333333z m42.666666 42.666667v213.333333h213.333334V256h-213.333334z m-42.666666 298.666667h298.666666v298.666666h-298.666666v-298.666666z m42.666666 42.666666v213.333334h213.333334v-213.333334h-213.333334z" ></path></symbol><symbol id="icon-full-screen" viewBox="0 0 1024 1024"><path d="M285.866667 810.666667H384v42.666666H213.333333v-170.666666h42.666667v98.133333l128-128 29.866667 29.866667-128 128z m494.933333 0l-128-128 29.866667-29.866667 128 128V682.666667h42.666666v170.666666h-170.666666v-42.666666h98.133333zM285.866667 256l128 128-29.866667 29.866667-128-128V384H213.333333V213.333333h170.666667v42.666667H285.866667z m494.933333 0H682.666667V213.333333h170.666666v170.666667h-42.666666V285.866667l-128 128-29.866667-29.866667 128-128z" ></path></symbol><symbol id="icon-shield" viewBox="0 0 1024 1024"><path d="M503.466667 140.8c119.466667 64 217.6 119.466667 320 170.666667 0 226.133333-106.666667 456.533333-320 597.333333-213.333333-140.8-320-371.2-320-597.333333 93.866667-51.2 200.533333-106.666667 320-170.666667z m-68.266667 85.333333c-21.333333 12.8-21.333333 12.8-42.666667 21.333334-17.066667 8.533333-29.866667 12.8-38.4 21.333333-55.466667 25.6-93.866667 46.933333-128 68.266667 8.533333 204.8 106.666667 396.8 277.333334 520.533333 170.666667-123.733333 268.8-315.733333 277.333333-520.533333-25.6-12.8-55.466667-29.866667-89.6-46.933334-34.133333-17.066667-140.8-76.8-187.733333-102.4-21.333333 12.8-42.666667 21.333333-68.266667 38.4z" ></path></symbol><symbol id="icon-currency-flow" viewBox="0 0 1024 1024"><path d="M512 597.333333h85.333333v42.666667h-85.333333v42.666667h-42.666667v-42.666667H384v-42.666667h85.333333v-42.666666H384v-42.666667h85.333333L362.666667 405.333333l29.866666-29.866666 98.133334 98.133333 98.133333-98.133333 29.866667 29.866666L512 512h85.333333v42.666667h-85.333333v42.666666z m426.666667-170.666666v42.666666c-25.6 8.533333-42.666667 34.133333-42.666667 59.733334s17.066667 51.2 42.666667 59.733333V810.666667h-42.666667v-192c-25.6-21.333333-42.666667-51.2-42.666667-85.333334s17.066667-64 42.666667-85.333333V256h42.666667v170.666667z m-85.333334 0v42.666666c-25.6 8.533333-42.666667 34.133333-42.666666 59.733334s17.066667 51.2 42.666666 59.733333V810.666667H128v-217.6c25.6-8.533333 42.666667-34.133333 42.666667-59.733334s-17.066667-51.2-42.666667-59.733333V256h725.333333v170.666667z m-42.666666 21.333333V298.666667H170.666667v149.333333c25.6 21.333333 42.666667 51.2 42.666666 85.333333s-17.066667 64-42.666666 85.333334V768h640v-149.333333c-25.6-21.333333-42.666667-51.2-42.666667-85.333334s17.066667-64 42.666667-85.333333z" ></path></symbol><symbol id="icon-loan" viewBox="0 0 1024 1024"><path d="M785.066667 520.533333l-106.666667 106.666667-29.866667-29.866667 76.8-76.8-76.8-76.8 29.866667-29.866666 106.666667 106.666666z m128 0l-106.666667 106.666667-29.866667-29.866667 76.8-76.8-76.8-76.8 29.866667-29.866666 106.666667 106.666666zM469.333333 597.333333h85.333334v42.666667h-85.333334v42.666667h-42.666666v-42.666667H341.333333v-42.666667h85.333334v-42.666666H341.333333v-42.666667h85.333334L320 405.333333l29.866667-29.866666 98.133333 98.133333 98.133333-98.133333 29.866667 29.866666L469.333333 512h85.333334v42.666667h-85.333334v42.666666z m298.666667-256h-42.666667V256H170.666667v554.666667h554.666666v-85.333334h42.666667v128H128V213.333333h640v128z" ></path></symbol><symbol id="icon-calculator" viewBox="0 0 1024 1024"><path d="M426.666667 426.666667H384V298.666667h298.666667v128h-256z m0-42.666667h213.333333V341.333333h-213.333333v42.666667zM256 170.666667h554.666667v682.666666H256V170.666667z m42.666667 42.666666v597.333334h469.333333V213.333333H298.666667z m85.333333 298.666667h42.666667v42.666667H384v-42.666667z m128 0h42.666667v42.666667h-42.666667v-42.666667z m128 0h42.666667v42.666667h-42.666667v-42.666667z m-256 85.333333h42.666667v42.666667H384v-42.666667z m128 0h42.666667v42.666667h-42.666667v-42.666667z m-128 85.333334h42.666667v42.666666H384v-42.666666z m128 0h42.666667v42.666666h-42.666667v-42.666666z m128-85.333334h42.666667v128h-42.666667v-128zM256 170.666667h554.666667v42.666666H256V170.666667z" ></path></symbol><symbol id="icon-finance" viewBox="0 0 1024 1024"><path d="M768 618.666667V597.333333h42.666667v25.6c12.8 4.266667 25.6 8.533333 38.4 17.066667l17.066666-17.066667 29.866667 29.866667-17.066667 17.066667c8.533333 12.8 12.8 25.6 17.066667 38.4h25.6v42.666666H896c-4.266667 12.8-8.533333 25.6-17.066667 38.4l17.066667 17.066667-29.866667 29.866667-17.066666-17.066667c-12.8 8.533333-25.6 12.8-38.4 17.066667v17.066666h-42.666667v-25.6c-12.8-4.266667-25.6-8.533333-38.4-17.066666l-17.066667 17.066666-29.866666-25.6 17.066666-17.066666c-8.533333-12.8-12.8-25.6-17.066666-38.4h-25.6v-42.666667h25.6c4.266667-12.8 8.533333-25.6 17.066666-38.4l-17.066666-17.066667 29.866666-29.866666 17.066667 17.066666c12.8-8.533333 25.6-12.8 38.4-17.066666z m85.333333-51.2c-12.8-4.266667-29.866667-8.533333-42.666666-12.8V256H256v554.666667h384c8.533333 17.066667 21.333333 29.866667 34.133333 42.666666H213.333333V213.333333h640v354.133334z m-298.666666 29.866666h85.333333v42.666667h-85.333333v42.666667h-42.666667v-42.666667h-85.333333v-42.666667h85.333333v-42.666666h-85.333333v-42.666667h85.333333L405.333333 405.333333l29.866667-29.866666 98.133333 98.133333 98.133334-98.133333 29.866666 29.866666L554.666667 512h85.333333v42.666667h-85.333333v42.666666z m234.666666 192c34.133333 0 64-29.866667 64-64s-29.866667-64-64-64-64 29.866667-64 64 29.866667 64 64 64z m0-42.666666c-12.8 0-21.333333-8.533333-21.333333-21.333334s8.533333-21.333333 21.333333-21.333333 21.333333 8.533333 21.333334 21.333333-8.533333 21.333333-21.333334 21.333334z" ></path></symbol><symbol id="icon-dollar" viewBox="0 0 1024 1024"><path d="M554.666667 853.333333h-85.333334v42.666667h-42.666666v-42.666667c-93.866667 0-170.666667-76.8-170.666667-170.666666h42.666667c0 72.533333 55.466667 128 128 128v-256c-93.866667 0-170.666667-76.8-170.666667-170.666667s76.8-170.666667 170.666667-170.666667V170.666667h42.666666v42.666666h85.333334V170.666667h42.666666v42.666666c93.866667 0 170.666667 76.8 170.666667 170.666667h-42.666667c0-72.533333-55.466667-128-128-128v256h17.066667c21.333333 0 46.933333 8.533333 68.266667 21.333333l4.266666 4.266667c4.266667 4.266667 8.533333 4.266667 12.8 8.533333 42.666667 29.866667 68.266667 81.066667 68.266667 136.533334 0 93.866667-76.8 170.666667-170.666667 170.666666v42.666667h-42.666666v-42.666667z m0-341.333333V256h-85.333334v256h85.333334z m0 298.666667v-256h-85.333334v256h85.333334z m42.666666 0c72.533333 0 128-55.466667 128-128s-55.466667-128-128-128v256zM426.666667 256C354.133333 256 298.666667 311.466667 298.666667 384s55.466667 128 128 128V256z" ></path></symbol><symbol id="icon-cny" viewBox="0 0 1024 1024"><path d="M469.333333 712.533333v-128H213.333333v-42.666666h256v-85.333334l-256-256 29.866667-29.866666 247.466667 247.466666L738.133333 170.666667l29.866667 29.866666-256 256v85.333334h256v42.666666h-256v128h256v42.666667h-256v85.333333h-42.666667v-85.333333H213.333333v-42.666667h256z" ></path></symbol><symbol id="icon-cancel-bill" viewBox="0 0 1024 1024"><path d="M742.4 213.333333H640v85.333334h-213.333333V234.666667c0-8.533333 0-12.8 4.266666-21.333334H298.666667v443.733334l-42.666667 42.666666V170.666667h192c21.333333-25.6 51.2-42.666667 85.333333-42.666667s64 17.066667 85.333334 42.666667h166.4l-42.666667 42.666666z m25.6 153.6l42.666667-42.666666V896H256v-17.066667l42.666667-42.666666v17.066666h469.333333V366.933333zM469.333333 256h128v-21.333333c0-34.133333-29.866667-64-64-64S469.333333 200.533333 469.333333 234.666667V256z m379.733334-89.6l29.866666 29.866667L217.6 857.6l-29.866667-29.866667L849.066667 166.4z" ></path></symbol><symbol id="icon-bank-card" viewBox="0 0 1024 1024"><path d="M896 256v554.666667H170.666667V256h725.333333zM213.333333 298.666667v469.333333h640V298.666667H213.333333z m0 384h640v42.666666H213.333333v-42.666666z m85.333334-298.666667h128v42.666667H298.666667V384z" ></path></symbol><symbol id="icon-praise" viewBox="0 0 1024 1024"><path d="M554.666667 469.333333l-42.666667-85.333333h-42.666667v256h213.333334v-170.666667h-128z m-128-42.666666V341.333333h119.466666l38.4 85.333334H725.333333v256h-298.666666v-256z m106.666666 469.333333C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333zM341.333333 426.666667h42.666667v256H341.333333v-256z" ></path></symbol><symbol id="icon-tread" viewBox="0 0 1024 1024"><path d="M640 426.666667h-170.666667v256h42.666667l42.666667-85.333334h128v-170.666666h-42.666667z m-55.466667 213.333333l-38.4 85.333333H426.666667V384h298.666666v256h-140.8z m-51.2 256C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333zM341.333333 640V384h42.666667v256H341.333333z" ></path></symbol><symbol id="icon-smile" viewBox="0 0 1024 1024"><path d="M682.666667 554.666667v21.333333c0 81.066667-68.266667 149.333333-149.333334 149.333333S384 657.066667 384 576V554.666667h42.666667v21.333333c0 59.733333 46.933333 106.666667 106.666666 106.666667s106.666667-46.933333 106.666667-106.666667V554.666667h42.666667z m-149.333334 341.333333C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333zM469.333333 384v85.333333h-42.666666V384h42.666666z m170.666667 0v85.333333h-42.666667V384h42.666667z" ></path></symbol><symbol id="icon-grow" viewBox="0 0 1024 1024"><path d="M682.666667 896l-149.333334-42.666667L384 896v-166.4c-102.4-55.466667-170.666667-162.133333-170.666667-281.6C213.333333 273.066667 358.4 128 533.333333 128S853.333333 273.066667 853.333333 448c0 123.733333-68.266667 230.4-170.666666 281.6V896z m-42.666667-55.466667v-89.6c-25.6 8.533333-55.466667 17.066667-85.333333 17.066667v51.2l85.333333 21.333333z m-213.333333 0l85.333333-25.6V768c-29.866667 0-59.733333-8.533333-85.333333-17.066667v89.6z m106.666666-115.2c153.6 0 277.333333-123.733333 277.333334-277.333333S686.933333 170.666667 533.333333 170.666667 256 294.4 256 448 379.733333 725.333333 533.333333 725.333333z m0-85.333333C426.666667 640 341.333333 554.666667 341.333333 448S426.666667 256 533.333333 256 725.333333 341.333333 725.333333 448 640 640 533.333333 640z m0-42.666667c81.066667 0 149.333333-68.266667 149.333334-149.333333S614.4 298.666667 533.333333 298.666667 384 366.933333 384 448s68.266667 149.333333 149.333333 149.333333z" ></path></symbol><symbol id="icon-message" viewBox="0 0 1024 1024"><path d="M256 768v68.266667L324.266667 768H810.666667V256H256v512z m0 128H213.333333V213.333333h640v597.333334H341.333333l-85.333333 85.333333z m426.666667-426.666667H384v-42.666666h298.666667v42.666666z m-85.333334 128H384v-42.666666h213.333333v42.666666z" ></path></symbol><symbol id="icon-sad" viewBox="0 0 1024 1024"><path d="M640 725.333333v-21.333333c0-59.733333-46.933333-106.666667-106.666667-106.666667S426.666667 644.266667 426.666667 704v21.333333H384v-21.333333c0-81.066667 68.266667-149.333333 149.333333-149.333333s149.333333 68.266667 149.333334 149.333333v21.333333h-42.666667zM533.333333 170.666667c200.533333 0 362.666667 162.133333 362.666667 362.666666S733.866667 896 533.333333 896 170.666667 733.866667 170.666667 533.333333 332.8 170.666667 533.333333 170.666667z m0 42.666666C358.4 213.333333 213.333333 358.4 213.333333 533.333333S358.4 853.333333 533.333333 853.333333s320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333z m64 256V384h42.666667v85.333333h-42.666667z m-170.666666 0V384h42.666666v85.333333h-42.666666z" ></path></symbol><symbol id="icon-share" viewBox="0 0 1024 1024"><path d="M601.6 699.733333l-200.533333-110.933333C375.466667 618.666667 341.333333 640 298.666667 640c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128c42.666667 0 81.066667 21.333333 106.666666 55.466667L640 320V298.666667c0-72.533333 55.466667-128 128-128s128 55.466667 128 128-55.466667 128-128 128c-46.933333 0-89.6-25.6-110.933333-64l-234.666667 115.2c4.266667 8.533333 4.266667 21.333333 4.266667 34.133333 0 12.8-4.266667 29.866667-8.533334 42.666667l196.266667 106.666666c25.6-38.4 64-64 110.933333-64 72.533333 0 128 55.466667 128 128s-55.466667 128-128 128-128-55.466667-128-128c0-8.533333 0-17.066667 4.266667-25.6zM298.666667 597.333333c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333334 85.333333 38.4 85.333333 85.333334 85.333333z m469.333333-213.333333c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333334-85.333333 38.4-85.333333 85.333334 38.4 85.333333 85.333333 85.333333z m-42.666667 426.666667c46.933333 0 85.333333-38.4 85.333334-85.333334s-38.4-85.333333-85.333334-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333334z"></path></symbol><symbol id="icon-collect" viewBox="0 0 1024 1024"><path d="M512 776.533333l-238.933333 85.333334 8.533333-251.733334L128 405.333333l243.2-72.533333L512 128l140.8 209.066667L896 405.333333l-153.6 200.533334 8.533333 251.733333-238.933333-81.066667z m0-51.2l187.733333 68.266667-4.266666-200.533333 123.733333-157.866667-192-55.466667-115.2-170.666666-110.933333 166.4-192 55.466666 123.733333 157.866667-4.266667 200.533333L512 725.333333z" ></path></symbol><symbol id="icon-wang" viewBox="0 0 1024 1024"><path d="M307.2 196.266667l-29.866667-29.866667C302.933333 140.8 341.333333 128 384 128s85.333333 17.066667 115.2 42.666667h34.133333c200.533333 0 362.666667 162.133333 362.666667 362.666666S733.866667 896 533.333333 896 170.666667 733.866667 170.666667 533.333333c0-123.733333 59.733333-230.4 153.6-294.4l29.866666 29.866667C268.8 324.266667 213.333333 422.4 213.333333 533.333333c0 174.933333 145.066667 320 320 320s320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333c-17.066667 0-34.133333 0-51.2 4.266667l-8.533333-8.533333C426.666667 162.133333 354.133333 157.866667 307.2 196.266667zM469.333333 469.333333v85.333334h-42.666666v-85.333334h42.666666z m170.666667 0v85.333334h-42.666667v-85.333334h42.666667z" ></path></symbol><symbol id="icon-favorite" viewBox="0 0 1024 1024"><path d="M691.2 170.666667C810.666667 170.666667 896 251.733333 896 371.2c0 68.266667-34.133333 136.533333-93.866667 217.6-34.133333 46.933333-76.8 93.866667-136.533333 149.333333l-102.4 102.4-29.866667 29.866667-29.866666-29.866667c-12.8-12.8-85.333333-81.066667-102.4-102.4C341.333333 682.666667 298.666667 635.733333 264.533333 588.8 204.8 512 170.666667 439.466667 170.666667 371.2 170.666667 251.733333 256 170.666667 375.466667 170.666667c64 0 123.733333 29.866667 162.133333 76.8 34.133333-46.933333 93.866667-76.8 153.6-76.8zM853.333333 371.2C853.333333 273.066667 780.8 213.333333 691.2 213.333333c-51.2 0-98.133333 25.6-128 64l-29.866667 42.666667-29.866666-42.666667C469.333333 238.933333 422.4 213.333333 375.466667 213.333333 285.866667 213.333333 213.333333 273.066667 213.333333 371.2 213.333333 512 405.333333 682.666667 533.333333 810.666667c128-128 320-298.666667 320-439.466667z" ></path></symbol><symbol id="icon-calendar" viewBox="0 0 1024 1024"><path d="M341.333333 298.666667h384V213.333333h42.666667v85.333334h128v554.666666H170.666667V298.666667h128V213.333333h42.666666v85.333334zM213.333333 341.333333v469.333334h640V341.333333H213.333333z m213.333334 85.333334v42.666666H298.666667v-42.666666h128z m170.666666 0v42.666666h-128v-42.666666h128z m170.666667 0v42.666666h-128v-42.666666h128z m-341.333333 256v42.666666H298.666667v-42.666666h128z m170.666666 0v42.666666h-128v-42.666666h128z m170.666667 0v42.666666h-128v-42.666666h128z m-341.333333-128v42.666666H298.666667v-42.666666h128z m170.666666 0v42.666666h-128v-42.666666h128z m170.666667 0v42.666666h-128v-42.666666h128z" ></path></symbol><symbol id="icon-tree" viewBox="0 0 1024 1024"><path d="M554.666667 682.666667h85.333333v128h-213.333333v-128h85.333333v-128H256v128h85.333333v128H128v-128h85.333333v-170.666667h298.666667V384h-85.333333V256h213.333333v128h-85.333333v128h298.666666v170.666667h85.333334v128h-213.333334v-128h85.333334v-128h-256v128z m42.666666-384h-128v42.666666h128V298.666667zM298.666667 725.333333H170.666667v42.666667h128v-42.666667z m597.333333 0h-128v42.666667h128v-42.666667z m-298.666667 0h-128v42.666667h128v-42.666667z" ></path></symbol><symbol id="icon-polyline" viewBox="0 0 1024 1024"><path d="M422.4 550.4l-21.333333-21.333333-89.6 89.6-29.866667-29.866667L396.8 469.333333l51.2 51.2L631.466667 341.333333l179.2 179.2-29.866667 29.866667-149.333333-149.333333-183.466667 183.466666-25.6-34.133333zM213.333333 810.666667h597.333334v42.666666H170.666667V213.333333h42.666666v597.333334z" ></path></symbol><symbol id="icon-cloud" viewBox="0 0 1024 1024"><path d="M597.333333 768h149.333334c85.333333-8.533333 149.333333-81.066667 149.333333-170.666667 0-93.866667-76.8-170.666667-170.666667-170.666666h-4.266666c-21.333333-98.133333-106.666667-170.666667-209.066667-170.666667-119.466667 0-213.333333 93.866667-213.333333 213.333333-72.533333 8.533333-128 72.533333-128 149.333334C170.666667 699.733333 238.933333 768 320 768H597.333333z m149.333334 42.666667h-426.666667C213.333333 810.666667 128 725.333333 128 618.666667c0-85.333333 55.466667-157.866667 128-183.466667C273.066667 311.466667 379.733333 213.333333 512 213.333333c110.933333 0 209.066667 72.533333 243.2 170.666667 102.4 12.8 183.466667 102.4 183.466667 213.333333s-85.333333 200.533333-192 213.333334z" ></path></symbol><symbol id="icon-upload" viewBox="0 0 1024 1024"><path d="M554.666667 550.4V768h192c85.333333-8.533333 149.333333-81.066667 149.333333-170.666667 0-93.866667-76.8-170.666667-170.666667-170.666666h-4.266666c-21.333333-98.133333-106.666667-170.666667-209.066667-170.666667-119.466667 0-213.333333 93.866667-213.333333 213.333333-72.533333 8.533333-128 72.533333-128 149.333334C170.666667 699.733333 238.933333 768 320 768H512v-217.6l-98.133333 98.133333-29.866667-29.866666 149.333333-149.333334 149.333334 149.333334-29.866667 29.866666-98.133333-98.133333z m0 217.6v42.666667h-42.666667v-42.666667h-64v42.666667h-128C213.333333 810.666667 128 725.333333 128 618.666667c0-85.333333 55.466667-157.866667 128-183.466667C273.066667 311.466667 379.733333 213.333333 512 213.333333c110.933333 0 209.066667 72.533333 243.2 170.666667 102.4 12.8 183.466667 102.4 183.466667 213.333333s-85.333333 200.533333-192 213.333334h-128v-42.666667H554.666667z" ></path></symbol><symbol id="icon-download" viewBox="0 0 1024 1024"><path d="M512 729.6V469.333333h42.666667v260.266667l98.133333-98.133333 29.866667 29.866666-106.666667 106.666667h170.666667c85.333333-8.533333 149.333333-81.066667 149.333333-170.666667 0-93.866667-76.8-170.666667-170.666667-170.666666h-4.266666c-21.333333-98.133333-106.666667-170.666667-209.066667-170.666667-119.466667 0-213.333333 93.866667-213.333333 213.333333-72.533333 8.533333-128 72.533333-128 149.333334C170.666667 699.733333 238.933333 768 320 768h170.666667L384 661.333333l29.866667-29.866666 98.133333 98.133333z m64 38.4l-42.666667 42.666667-42.666666-42.666667h-42.666667v42.666667h-128C213.333333 810.666667 128 725.333333 128 618.666667c0-85.333333 55.466667-157.866667 128-183.466667C273.066667 311.466667 379.733333 213.333333 512 213.333333c110.933333 0 209.066667 72.533333 243.2 170.666667 102.4 12.8 183.466667 102.4 183.466667 213.333333s-85.333333 200.533333-192 213.333334h-128v-42.666667h-42.666667z" ></path></symbol><symbol id="icon-pie" viewBox="0 0 1024 1024"><path d="M490.666667 213.333333v42.666667C337.066667 256 213.333333 379.733333 213.333333 533.333333S337.066667 810.666667 490.666667 810.666667s277.333333-123.733333 277.333333-277.333334h42.666667c0 174.933333-145.066667 320-320 320S170.666667 708.266667 170.666667 533.333333 315.733333 213.333333 490.666667 213.333333z m362.666666 298.666667h-341.333333V170.666667c187.733333 0 341.333333 153.6 341.333333 341.333333z m-298.666666-294.4V469.333333h251.733333c-17.066667-132.266667-119.466667-234.666667-251.733333-251.733333z" ></path></symbol><symbol id="icon-columnar" viewBox="0 0 1024 1024"><path d="M256 810.666667h597.333333v42.666666H213.333333V213.333333h42.666667v597.333334zM341.333333 298.666667h42.666667v426.666666H341.333333V298.666667z m128 85.333333h42.666667v341.333333h-42.666667V384z m128 85.333333h42.666667v256h-42.666667v-256z m128 85.333334h42.666667v170.666666h-42.666667v-170.666666z" ></path></symbol><symbol id="icon-package" viewBox="0 0 1024 1024"><path d="M409.6 443.733333l123.733333 72.533334 294.4-170.666667-128-72.533333-290.133333 170.666666z m-42.666667-21.333333l294.4-170.666667-128-72.533333-294.4 170.666667 128 72.533333zM213.333333 384v260.266667l298.666667 170.666666V554.666667L213.333333 384z m640 0l-298.666666 170.666667v260.266666l298.666666-170.666666V384z m-320-256L896 337.066667v332.8l-362.666667 209.066666L170.666667 669.866667V337.066667L533.333333 128z" ></path></symbol><symbol id="icon-package-collection" viewBox="0 0 1024 1024"><path d="M853.333333 682.666667v-85.333334h42.666667v85.333334h85.333333v42.666666h-85.333333v85.333334h-42.666667v-85.333334h-85.333333v-42.666666h85.333333zM409.6 473.6l123.733333 72.533333 294.4-170.666666-128-72.533334-290.133333 170.666667z m-42.666667-21.333333l294.4-170.666667-128-72.533333-294.4 170.666666 128 72.533334zM213.333333 413.866667v260.266666l298.666667 170.666667v-260.266667l-298.666667-170.666666z m640 0l-298.666666 170.666666v260.266667l187.733333-106.666667 21.333333 38.4-230.4 132.266667L170.666667 699.733333V366.933333l362.666666-209.066666L896 366.933333V554.666667h-42.666667V413.866667z" ></path></symbol><symbol id="icon-package-move" viewBox="0 0 1024 1024"><path d="M554.666667 298.666667H341.333333v384h469.333334V298.666667h-213.333334v85.333333h-42.666666V298.666667zM256 768h640v42.666667H213.333333V285.866667l-85.333333-85.333334 29.866667-29.866666L256 268.8V768zM298.666667 256h554.666666v469.333333H298.666667V256z m0 640c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666666 42.666666-17.066667 42.666667-42.666666 42.666667z m512 0c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666666 42.666666-17.066667 42.666667-42.666666 42.666667z" ></path></symbol><symbol id="icon-location" viewBox="0 0 1024 1024"><path d="M503.466667 870.4l-196.266667-196.266667-4.266667-4.266666-4.266666-4.266667c-51.2-55.466667-85.333333-132.266667-85.333334-217.6C213.333333 273.066667 358.4 128 533.333333 128S853.333333 273.066667 853.333333 448c0 85.333333-34.133333 162.133333-85.333333 217.6l-204.8 204.8-29.866667 29.866667-29.866666-29.866667z m29.866666-29.866667l196.266667-196.266666c51.2-51.2 81.066667-119.466667 81.066667-196.266667C810.666667 294.4 686.933333 170.666667 533.333333 170.666667S256 294.4 256 448c0 76.8 29.866667 145.066667 76.8 192l200.533333 200.533333z m0-243.2C452.266667 597.333333 384 529.066667 384 448S452.266667 298.666667 533.333333 298.666667 682.666667 366.933333 682.666667 448 614.4 597.333333 533.333333 597.333333z m0-42.666666c59.733333 0 106.666667-46.933333 106.666667-106.666667S593.066667 341.333333 533.333333 341.333333 426.666667 388.266667 426.666667 448s46.933333 106.666667 106.666666 106.666667z" ></path></symbol><symbol id="icon-earth" viewBox="0 0 1024 1024"><path d="M550.4 896h-17.066667C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667h21.333334c192 12.8 341.333333 170.666667 341.333333 362.666666 0 174.933333-123.733333 320-290.133333 354.133334-17.066667 4.266667-38.4 8.533333-55.466667 8.533333z m-34.133333-42.666667v-145.066666l-59.733334-81.066667 123.733334-123.733333 59.733333 59.733333h115.2l76.8 76.8v8.533333c12.8-38.4 21.333333-76.8 21.333333-119.466666 0-166.4-128-302.933333-290.133333-320L473.6 298.666667l59.733333 59.733333V469.333333l-98.133333 98.133334-187.733333-179.2c-21.333333 42.666667-34.133333 93.866667-34.133334 145.066666 0 170.666667 132.266667 311.466667 302.933334 320zM366.933333 260.266667c-38.4 25.6-68.266667 51.2-93.866666 89.6l162.133333 162.133333 55.466667-55.466667V379.733333L413.866667 302.933333l12.8-12.8 72.533333-72.533333c-46.933333 4.266667-89.6 17.066667-132.266667 42.666667z m192 430.933333V853.333333c42.666667-4.266667 89.6-17.066667 136.533334-42.666666 38.4-21.333333 68.266667-51.2 93.866666-85.333334v-68.266666l-51.2-51.2h-115.2l-42.666666-42.666667-64 64 42.666666 64z" ></path></symbol><symbol id="icon-sorting" viewBox="0 0 1024 1024"><path d="M780.8 797.866667c-64 59.733333-153.6 98.133333-247.466667 98.133333s-183.466667-38.4-247.466666-98.133333c12.8-8.533333 25.6-17.066667 34.133333-25.6 55.466667 51.2 132.266667 81.066667 213.333333 81.066666s157.866667-29.866667 213.333334-81.066666c12.8 8.533333 21.333333 17.066667 34.133333 25.6z m106.666667-183.466667c-12.8-8.533333-25.6-12.8-42.666667-12.8 4.266667-21.333333 8.533333-42.666667 8.533333-64 0-140.8-93.866667-260.266667-221.866666-302.933333 4.266667-17.066667 8.533333-29.866667 8.533333-42.666667v-4.266667c149.333333 46.933333 256 183.466667 256 345.6 0 25.6-4.266667 55.466667-8.533333 81.066667z m-708.266667 0c-4.266667-25.6-8.533333-55.466667-8.533333-81.066667 0-162.133333 106.666667-302.933333 256-345.6v4.266667c0 12.8 4.266667 25.6 8.533333 38.4-128 42.666667-221.866667 162.133333-221.866667 302.933333 0 21.333333 4.266667 42.666667 8.533334 64-17.066667 4.266667-29.866667 8.533333-42.666667 17.066667zM533.333333 256c-34.133333 0-64-29.866667-64-64S499.2 128 533.333333 128s64 29.866667 64 64S567.466667 256 533.333333 256z m-298.666666 512c-34.133333 0-64-29.866667-64-64S200.533333 640 234.666667 640s64 29.866667 64 64S268.8 768 234.666667 768z m597.333333 0c-34.133333 0-64-29.866667-64-64s29.866667-64 64-64 64 29.866667 64 64-29.866667 64-64 64z" ></path></symbol><symbol id="icon-service" viewBox="0 0 1024 1024"><path d="M640 750.933333V853.333333h-42.666667v-132.266666c140.8-29.866667 247.466667-145.066667 256-290.133334h42.666667c-8.533333 149.333333-115.2 277.333333-256 320z m-213.333333 0c-140.8-42.666667-247.466667-170.666667-256-324.266666h42.666666c8.533333 145.066667 115.2 264.533333 256 290.133333V853.333333h-42.666666v-102.4zM635.733333 170.666667C712.533333 170.666667 768 226.133333 768 302.933333c0 68.266667-55.466667 132.266667-98.133333 174.933334-29.866667 29.866667-72.533333 59.733333-136.533334 89.6-64-34.133333-110.933333-64-136.533333-89.6-42.666667-42.666667-98.133333-106.666667-98.133333-174.933334C298.666667 226.133333 354.133333 170.666667 430.933333 170.666667c42.666667 0 76.8 17.066667 102.4 51.2 29.866667-34.133333 64-51.2 102.4-51.2z m4.266667 277.333333c51.2-51.2 85.333333-102.4 85.333333-145.066667 0-55.466667-38.4-89.6-89.6-89.6-21.333333 0-38.4 8.533333-51.2 17.066667-8.533333 4.266667-12.8 8.533333-17.066666 17.066667l-34.133334 42.666666-34.133333-42.666666c-4.266667-8.533333-8.533333-12.8-17.066667-17.066667-12.8-8.533333-29.866667-17.066667-51.2-17.066667C375.466667 213.333333 341.333333 247.466667 341.333333 302.933333c0 42.666667 34.133333 93.866667 85.333334 145.066667 21.333333 21.333333 59.733333 46.933333 106.666666 72.533333 46.933333-25.6 85.333333-51.2 106.666667-72.533333z" ></path></symbol><symbol id="icon-cart" viewBox="0 0 1024 1024"><path d="M298.666667 298.666667h597.333333v384H298.666667v85.333333h597.333333v42.666667H256V285.866667l-85.333333-85.333334 29.866666-29.866666L298.666667 268.8V298.666667z m0 42.666666v298.666667h554.666666V341.333333H298.666667z m42.666666 554.666667c-25.6 0-42.666667-17.066667-42.666666-42.666667s17.066667-42.666667 42.666666-42.666666 42.666667 17.066667 42.666667 42.666666-17.066667 42.666667-42.666667 42.666667z m469.333334 0c-25.6 0-42.666667-17.066667-42.666667-42.666667s17.066667-42.666667 42.666667-42.666666 42.666667 17.066667 42.666666 42.666666-17.066667 42.666667-42.666666 42.666667z" ></path></symbol><symbol id="icon-customs" viewBox="0 0 1024 1024"><path d="M640 512l8.533333-8.533333 59.733334 4.266666 17.066666-17.066666-59.733333-4.266667 29.866667-29.866667h89.6l-64 64h-29.866667l-17.066667 17.066667h34.133334l-42.666667 42.666667-38.4-38.4c-17.066667 12.8-38.4 21.333333-59.733333 17.066666 0 8.533333 0 17.066667-4.266667 25.6l25.6 25.6c34.133333-21.333333 76.8-17.066667 102.4 12.8 34.133333 34.133333 34.133333 89.6 0 119.466667s-89.6 34.133333-119.466667 0c-29.866667-29.866667-34.133333-72.533333-12.8-102.4l-17.066666-17.066667c-29.866667 29.866667-72.533333 38.4-106.666667 17.066667l-59.733333 59.733333-29.866667-29.866666 59.733333-59.733334c-21.333333-34.133333-12.8-76.8 12.8-102.4l-46.933333-46.933333-29.866667 29.866667-29.866666-29.866667 59.733333-59.733333 29.866667 29.866666 55.466666 55.466667c8.533333-4.266667 17.066667-4.266667 25.6-4.266667 0-25.6 8.533333-46.933333 25.6-64 8.533333-8.533333 21.333333-8.533333 29.866667 0 8.533333 8.533333 8.533333 21.333333 0 29.866667-12.8 12.8-17.066667 25.6-12.8 42.666667l55.466667-55.466667-55.466667-55.466667 55.466667-4.266666-17.066667-17.066667-55.466667 4.266667-17.066666-17.066667 55.466666-4.266667-17.066666-17.066666-55.466667 4.266666-21.333333-21.333333h93.866666l59.733334 64c4.266667-8.533333 8.533333-12.8 12.8-17.066667 17.066667-17.066667 42.666667-17.066667 59.733333 0 17.066667 17.066667 17.066667 42.666667 0 59.733334-12.8 12.8-38.4 29.866667-64 34.133333l-68.266667 68.266667c12.8 4.266667 29.866667 0 42.666667-12.8 8.533333-8.533333 21.333333-8.533333 29.866667 0 17.066667 4.266667 17.066667 8.533333 21.333333 8.533333z m-200.533333 64l25.6-25.6-17.066667-17.066667c-8.533333 12.8-12.8 29.866667-8.533333 42.666667z m29.866666 29.866667c12.8 4.266667 29.866667 0 42.666667-12.8l-17.066667-17.066667-25.6 29.866667z m64 290.133333C332.8 896 170.666667 733.866667 170.666667 533.333333S332.8 170.666667 533.333333 170.666667 896 332.8 896 533.333333 733.866667 896 533.333333 896z m0-42.666667c174.933333 0 320-145.066667 320-320S708.266667 213.333333 533.333333 213.333333 213.333333 358.4 213.333333 533.333333 358.4 853.333333 533.333333 853.333333z m68.266667-136.533333c17.066667 17.066667 42.666667 17.066667 59.733333 0 17.066667-17.066667 17.066667-42.666667 0-59.733333-17.066667-17.066667-42.666667-17.066667-59.733333 0s-17.066667 42.666667 0 59.733333z" ></path></symbol><symbol id="icon-msg" viewBox="0 0 1024 1024"><path d="M853.333333 324.266667l-315.733333 243.2v4.266666-4.266666L213.333333 324.266667V554.666667H170.666667V256h725.333333v554.666667H170.666667v-42.666667h682.666666V324.266667z m-34.133333-25.6H247.466667l285.866666 217.6L819.2 298.666667zM85.333333 597.333333h170.666667v42.666667H85.333333v-42.666667z m-42.666666 85.333334h170.666666v42.666666H42.666667v-42.666666z" ></path></symbol><symbol id="icon-news" viewBox="0 0 1024 1024"><path d="M384 810.666667h311.466667c-8.533333-12.8-12.8-25.6-12.8-42.666667V256H256v512c0 25.6 17.066667 42.666667 42.666667 42.666667h85.333333z m-170.666667-42.666667V213.333333h512v128h128v426.666667c0 46.933333-38.4 85.333333-85.333333 85.333333H298.666667c-46.933333 0-85.333333-38.4-85.333334-85.333333z m512-384v384c0 25.6 17.066667 42.666667 42.666667 42.666667s42.666667-17.066667 42.666667-42.666667V384h-85.333334zM341.333333 384h256v42.666667H341.333333V384z m0 128h256v42.666667H341.333333v-42.666667z m0 128h170.666667v42.666667H341.333333v-42.666667z" ></path></symbol><symbol id="icon-email" viewBox="0 0 1024 1024"><path d="M819.2 298.666667H247.466667l285.866666 217.6L819.2 298.666667z m34.133333 25.6l-315.733333 243.2v4.266666-4.266666L213.333333 324.266667V768h640V324.266667zM896 256v554.666667H170.666667V256h725.333333z" ></path></symbol><symbol id="icon-notice" viewBox="0 0 1024 1024"><path d="M512 213.333333V128h42.666667v85.333333c145.066667 12.8 256 132.266667 256 277.333334V810.666667H256v-320C256 345.6 366.933333 226.133333 512 213.333333zM298.666667 640v128h469.333333v-256-21.333333c0-128-106.666667-234.666667-234.666667-234.666667S298.666667 362.666667 298.666667 490.666667V640z m128 213.333333h213.333333v42.666667h-213.333333v-42.666667z" ></path></symbol><symbol id="icon-eye" viewBox="0 0 1024 1024"><path d="M512 298.666667c-162.133333 0-285.866667 68.266667-375.466667 213.333333 89.6 145.066667 213.333333 213.333333 375.466667 213.333333s285.866667-68.266667 375.466667-213.333333c-89.6-145.066667-213.333333-213.333333-375.466667-213.333333z m0 469.333333c-183.466667 0-328.533333-85.333333-426.666667-256 98.133333-170.666667 243.2-256 426.666667-256s328.533333 85.333333 426.666667 256c-98.133333 170.666667-243.2 256-426.666667 256z m0-170.666667c46.933333 0 85.333333-38.4 85.333333-85.333333s-38.4-85.333333-85.333333-85.333333-85.333333 38.4-85.333333 85.333333 38.4 85.333333 85.333333 85.333333z m0 42.666667c-72.533333 0-128-55.466667-128-128s55.466667-128 128-128 128 55.466667 128 128-55.466667 128-128 128z" ></path></symbol><symbol id="icon-eye-close" viewBox="0 0 1024 1024"><path d="M332.8 729.6l34.133333-34.133333c42.666667 12.8 93.866667 21.333333 145.066667 21.333333 162.133333 0 285.866667-68.266667 375.466667-213.333333-46.933333-72.533333-102.4-128-166.4-162.133334l29.866666-29.866666c72.533333 42.666667 132.266667 106.666667 183.466667 192-98.133333 170.666667-243.2 256-426.666667 256-59.733333 4.266667-119.466667-8.533333-174.933333-29.866667z m-115.2-64c-51.2-38.4-93.866667-93.866667-132.266667-157.866667 98.133333-170.666667 243.2-256 426.666667-256 38.4 0 76.8 4.266667 110.933333 12.8l-34.133333 34.133334c-25.6-4.266667-46.933333-4.266667-76.8-4.266667-162.133333 0-285.866667 68.266667-375.466667 213.333333 34.133333 51.2 72.533333 93.866667 115.2 128l-34.133333 29.866667z m230.4-46.933333l29.866667-29.866667c8.533333 4.266667 21.333333 4.266667 29.866666 4.266667 46.933333 0 85.333333-38.4 85.333334-85.333334 0-12.8 0-21.333333-4.266667-29.866666l29.866667-29.866667c12.8 17.066667 17.066667 38.4 17.066666 64 0 72.533333-55.466667 128-128 128-17.066667-4.266667-38.4-12.8-59.733333-21.333333zM384 499.2c4.266667-68.266667 55.466667-119.466667 123.733333-123.733333 0 4.266667-123.733333 123.733333-123.733333 123.733333zM733.866667 213.333333l29.866666 29.866667-512 512-34.133333-29.866667L733.866667 213.333333z" ></path></symbol></svg>`,(e=>{var t=(n=(n=document.getElementsByTagName(`script`))[n.length-1]).getAttribute(`data-injectcss`),n=n.getAttribute(`data-disable-injectsvg`);if(!n){var r,i,a,o,s,c=function(e,t){t.parentNode.insertBefore(e,t)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write(`<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>`)}catch(e){console&&console.log(e)}}r=function(){var t,n=document.createElement(`div`);n.innerHTML=e._iconfont_svg_string_4982718,(n=n.getElementsByTagName(`svg`)[0])&&(n.setAttribute(`aria-hidden`,`true`),n.style.position=`absolute`,n.style.width=0,n.style.height=0,n.style.overflow=`hidden`,n=n,(t=document.body).firstChild?c(n,t.firstChild):t.appendChild(n))},document.addEventListener?~[`complete`,`loaded`,`interactive`].indexOf(document.readyState)?setTimeout(r,0):(i=function(){document.removeEventListener(`DOMContentLoaded`,i,!1),r()},document.addEventListener(`DOMContentLoaded`,i,!1)):document.attachEvent&&(a=r,o=e.document,s=!1,u(),o.onreadystatechange=function(){o.readyState==`complete`&&(o.onreadystatechange=null,l())})}function l(){s||(s=!0,a())}function u(){try{o.documentElement.doScroll(`left`)}catch{setTimeout(u,50);return}l()}})(window)}))();var jOe=(0,e.defineComponent)({name:`ogaIcon`,props:{type:{type:String,default:`svg`},name:{type:String,default:``,required:!0},prefix:{type:String,default:`icon`}},setup(t){return{name:(0,e.computed)(()=>`${t.type===`svg`?`#`:``}${t.prefix}-${t.name}`),useSvg:(0,e.computed)(()=>t.type===`svg`),msg:`Invalid icon`}}}),MOe={key:0,class:`oga-icon`,"aria-hidden":`true`},NOe=[`href`];function POe(t,n,r,i,a,o){return t.useSvg?((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,MOe,[(0,e.createElementVNode)(`use`,{href:t.name},null,8,NOe)])):((0,e.openBlock)(),(0,e.createElementBlock)(`i`,{key:1,class:(0,e.normalizeClass)([`oga-icon-font`,t.name])},null,2))}var R3=m(jOe,[[`render`,POe],[`__scopeId`,`data-v-ca90a548`]]);let z3=function(e){return e.Switch=`switch`,e.Button=`button`,e.Date=`date`,e.Datetime=`datetime`,e.Image=`image`,e.Album=`album`,e.Number=`number`,e.Mask=`mask`,e}({});var FOe={class:`oga-table`},IOe={class:`oga-table-content`},LOe=[`innerHTML`],ROe=[`src`],zOe=[`src`],BOe={class:`el-dropdown-link`},VOe=m((0,e.defineComponent)({__name:`index`,props:(0,e.mergeModels)({multiSelect:{type:Boolean},index:{type:Boolean},initTable:{type:Boolean},stripe:{type:Boolean},pageSizes:{},pageLayout:{},recordCount:{},visible:{type:Boolean},columnList:{},border:{type:Boolean},card:{type:Boolean},actionList:{},empty:{},rowsClassName:{type:Function},paginationSection:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:(0,e.mergeModels)([`paging`],[`update:modelValue`]),setup(t,{emit:n}){let r=t,i=(0,e.useModel)(t,`modelValue`),a=(0,e.ref)([]),o=(0,e.ref)(null),s=(0,e.ref)(null),c=n,l=({row:e,rowIndex:t})=>``,u=({row:e,column:t})=>ee(t.label)&&t.label.indexOf(`-`)>-1?`el-table__layers`:``,d=e=>e.split(`-`).join(`<br/>`),f=e=>e>0?`border-radius: ${e}px;`:``,p=e=>{if(o.value!==null&&s.value!==null){let t=o.value.$refs.headerWrapper;s.value.style.height=t.offsetHeight-1+`px`,a.value=e}},m=(e,t,n)=>{if(n.cancelBubble=!0,!(r===void 0||t.className===`stop`)){if(r.actionList&&r.actionList.update){let n=r.actionList.update.onClick;D(n)&&n.call(this,e,t)}r.actionList.rowClick&&D(r.actionList.rowClick)&&r.actionList.rowClick.call(this,e,t)}},h=({row:e})=>{let t=!1;if(a.value.forEach(n=>{n===e&&(t=!0)}),t)return{"background-color":`#edf5fe`}},g=e=>e?e.map(e=>e.url):[],_=e=>e&&e.length?e[0].url:``,v=(e,t,n)=>{e.cancelBubble=!0,n&&typeof n==`function`&&n.call(this,t)},y=e=>{if(r.actionList[e]&&a.value.length>0){let t=r.actionList[e].onClick;t&&typeof t==`function`&&t.call(this,e===`update`?a.value[0]:a.value)}},b=()=>{r!==void 0&&r.empty&&r.empty.onClick&&typeof r.empty.onClick==`function`&&r.empty.onClick.call(this)},x=e=>{r!==void 0&&(i.value.current=e,c(`paging`,!1))},S=e=>{r!==void 0&&(i.value.size=e,c(`paging`,!1))};return(n,r)=>{let c=(0,e.resolveComponent)(`el-button`),C=(0,e.resolveComponent)(`el-empty`),w=(0,e.resolveComponent)(`el-table-column`),T=(0,e.resolveComponent)(`el-switch`),E=(0,e.resolveComponent)(`el-image`),D=(0,e.resolveComponent)(`el-table`),O=(0,e.resolveComponent)(`el-icon`),k=(0,e.resolveComponent)(`el-dropdown-item`),te=(0,e.resolveComponent)(`el-dropdown`),A=(0,e.resolveComponent)(`el-pagination`),ne=(0,e.resolveDirective)(`loading`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,FOe,[i.value.records.length===0&&t.empty&&t.empty.content&&i.value.firstLoading?((0,e.openBlock)(),(0,e.createBlock)(C,{key:0,description:(0,e.unref)(Mr).global.t(`notData`)},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t.empty.content)+` `,1),(0,e.createVNode)(c,{type:`text`,onClick:b},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t.empty.buttonLabel),1)]),_:1})]),_:1},8,[`description`])):((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createElementVNode)(`div`,IOe,[(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createBlock)(D,{ref_key:`ogaTable`,ref:o,data:i.value.records,stripe:t.stripe,border:t.border,"row-class-name":l,"header-cell-class-name":u,onSelectionChange:p,onRowClick:m,"row-style":h},{default:(0,e.withCtx)(()=>[t.multiSelect?((0,e.openBlock)(),(0,e.createBlock)(w,{key:0,type:`selection`,width:`55`})):(0,e.createCommentVNode)(`v-if`,!0),t.index?((0,e.openBlock)(),(0,e.createBlock)(w,{key:1,label:`NO.`,type:`index`,width:`50`,align:`center`})):(0,e.createCommentVNode)(`v-if`,!0),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(t.columnList,(t,n)=>((0,e.openBlock)(),(0,e.createBlock)(w,{prop:t.prop,align:t.align||`left`,"header-align":t.headerAlign||``,"label-class-name":t.labelClassName||``,width:t.width,label:t.label,"class-name":t.className||``,sortable:t.sortable,"column-key":t.prop,fixed:t.fixed},{header:(0,e.withCtx)(n=>[(0,e.createElementVNode)(`span`,{innerHTML:d(t.label)},null,8,LOe)]),default:(0,e.withCtx)(n=>[t.type===(0,e.unref)(z3).Switch?((0,e.openBlock)(),(0,e.createBlock)(T,(0,e.mergeProps)({key:0,modelValue:n.row[t.prop],"onUpdate:modelValue":e=>n.row[t.prop]=e},{ref_for:!0},t.config,{onClick:e=>v(e,n.row,t.onClick)}),null,16,[`modelValue`,`onUpdate:modelValue`,`onClick`])):t.type===(0,e.unref)(z3).Image?((0,e.openBlock)(),(0,e.createBlock)(E,{key:1,"preview-teleported":!0,"hide-on-click-modal":!0,"show-progress":``,loading:`lazy`,"preview-src-list":(0,e.unref)(ee)(n.row[t.prop])?[n.row[t.prop]]:[],style:(0,e.normalizeStyle)(f(t.config?.radius??0)),src:n.row[t.prop],fit:t.config?.fit??`cover`},{error:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`img`,{src:(0,e.unref)(L3),class:`el-image__inner`,style:{"object-fit":`fill`}},null,8,ROe)]),_:1},8,[`preview-src-list`,`style`,`src`,`fit`])):t.type===(0,e.unref)(z3).Album?((0,e.openBlock)(),(0,e.createBlock)(E,{key:2,"preview-teleported":!0,"hide-on-click-modal":!0,"show-progress":``,loading:`lazy`,"preview-src-list":g(n.row[t.prop]),style:(0,e.normalizeStyle)(f(t.config?.radius??0)),src:_(n.row[t.prop]),fit:t.config?.fit??`cover`},{error:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`img`,{src:(0,e.unref)(L3),class:`el-image__inner`,style:{"object-fit":`fill`}},null,8,zOe)]),_:1},8,[`preview-src-list`,`style`,`src`,`fit`])):t.type===(0,e.unref)(z3).Date?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:3},[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(ie)(n.row[t.prop],t.config?.format??``)),1)],64)):t.type===(0,e.unref)(z3).Datetime?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:4},[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(ae)(n.row[t.prop],t.config?.format??``)),1)],64)):t.type===(0,e.unref)(z3).Button?((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,{key:5},(0,e.renderList)(t.group,(t,r)=>((0,e.openBlock)(),(0,e.createBlock)(c,{key:r,type:t.type,disabled:t.disabled,plain:t.plain,circle:t.circle,round:t.round,class:(0,e.normalizeClass)(t.className||``),onClick:(0,e.withModifiers)(e=>t.onClick(n.row,n.$index),[`stop`])},{default:(0,e.withCtx)(()=>[t.icon?((0,e.openBlock)(),(0,e.createBlock)(R3,{key:0,name:t.icon},null,8,[`name`])):(0,e.createCommentVNode)(`v-if`,!0),t.label?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createTextVNode)((0,e.toDisplayString)(t.label),1)],64)):(0,e.createCommentVNode)(`v-if`,!0)]),_:2},1032,[`type`,`disabled`,`plain`,`circle`,`round`,`class`,`onClick`]))),128)):t.render?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.render(n.row)),{key:6})):t.type===(0,e.unref)(z3).Number?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:7},[t.config?.format===`###.###`?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(se)(n.row[t.prop])),1)],64)):t.config?.format===`KMBT`?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(oe)(n.row[t.prop])),1)],64)):t.config?.format===`fixed`?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:2},[(0,e.createTextVNode)((0,e.toDisplayString)(n.row[t.prop].toFixed(t.config?.digit??0)),1)],64)):((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:3},[(0,e.createTextVNode)((0,e.toDisplayString)(n.row[t.prop]),1)],64))],64)):t.type===(0,e.unref)(z3).Mask?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:8},[(0,e.createTextVNode)((0,e.toDisplayString)(t.config?.format===`1/3`?(0,e.unref)(le)(n.row[t.prop]):t.config?.format===`email`?(0,e.unref)(ue)(n.row[t.prop]):(0,e.unref)(ce)(n.row[t.prop])),1)],64)):((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:9},[(0,e.createTextVNode)((0,e.toDisplayString)(n.row[t.prop]),1)],64))]),_:2},1032,[`prop`,`align`,`header-align`,`label-class-name`,`width`,`label`,`class-name`,`sortable`,`column-key`,`fixed`]))),256))]),_:1},8,[`data`,`stripe`,`border`])),[[ne,i.value.loading]]),(0,e.withDirectives)((0,e.createElementVNode)(`div`,{class:`oga-table-batch-operation`,ref_key:`bulkOperation`,ref:s},[(0,e.createVNode)(te,{onCommand:y,size:`large`,placement:`bottom-start`},{dropdown:(0,e.withCtx)(()=>[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(t.actionList,(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,null,[!t.invisible&&typeof t!=`function`?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[n===`update`?((0,e.openBlock)(),(0,e.createBlock)(k,{command:n,size:`large`,key:`action-${n}`,disabled:a.value.length!==1,divided:t.divided},{default:(0,e.withCtx)(()=>[t.icon?((0,e.openBlock)(),(0,e.createElementBlock)(`i`,{key:0,class:(0,e.normalizeClass)(t.icon)},null,2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createTextVNode)(` `+(0,e.toDisplayString)(t.label),1)]),_:2},1032,[`command`,`disabled`,`divided`])):n===`delete`?((0,e.openBlock)(),(0,e.createBlock)(k,{size:`large`,command:n,key:`action-${n}`,disabled:a.value.length<1,divided:t.divided},{default:(0,e.withCtx)(()=>[(0,e.unref)(ee)(t.icon)?((0,e.openBlock)(),(0,e.createBlock)(R3,{key:0,name:t.icon},null,8,[`name`])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createTextVNode)(` `+(0,e.toDisplayString)(t.label),1)]),_:2},1032,[`command`,`disabled`,`divided`])):((0,e.openBlock)(),(0,e.createBlock)(k,{size:`large`,command:n,key:`actions-${n}`,divided:t.divided},{default:(0,e.withCtx)(()=>[t.icon?((0,e.openBlock)(),(0,e.createElementBlock)(`i`,{key:0,class:(0,e.normalizeClass)(t.icon)},null,2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createTextVNode)(` `+(0,e.toDisplayString)(t.label),1)]),_:2},1032,[`command`,`divided`]))],64)):(0,e.createCommentVNode)(`v-if`,!0)],64))),256))]),default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,BOe,[(0,e.createElementVNode)(`div`,null,[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(Mr).global.t(`select.multiple`))+` `,1),(0,e.createElementVNode)(`b`,null,(0,e.toDisplayString)(a.value.length),1),(0,e.createTextVNode)(` `+(0,e.toDisplayString)((0,e.unref)(Mr).global.t(`select.item`))+` `,1),(0,e.createVNode)(O,{class:`el-icon--right`},{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(_e))]),_:1})])])]),_:1})],512),[[e.vShow,a.value.length>0]])]),t.paginationSection&&i.value.total>i.value.size?((0,e.openBlock)(),(0,e.createBlock)(A,{key:0,background:!1,"current-page":i.value.current,"page-size":i.value.size,layout:t.pageLayout,"page-sizes":t.pageSizes,total:i.value.total,onCurrentChange:x,onSizeChange:S},null,8,[`current-page`,`page-size`,`layout`,`page-sizes`,`total`])):(0,e.createCommentVNode)(`v-if`,!0)],64))])}}}),[[`__scopeId`,`data-v-91cdbda2`]]),HOe={install(e){e.component(`OgaTable`,VOe)}},UOe={class:`oga-material-label`},WOe=m((0,e.defineComponent)({inheritAttrs:!1,__name:`input-number`,props:(0,e.mergeModels)({modelValue:{type:Number,default:1},placeholder:{type:String,attr:!1,default:``},size:{type:String,attr:!1,default:``},label:{type:String,attr:!1,default:``},borderless:{type:Boolean,attr:!1,default:!1},shrink:{type:Boolean,attr:!1,default:!0},errorTips:{type:Boolean,attr:!1,default:!0},round:{type:Boolean,attr:!1,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-input-number`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,UOe,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-f08884c8`]]),GOe={install(e){e.component(`OgaInputNumber`,WOe)}},KOe={class:`oga-material-label`},qOe=m((0,e.defineComponent)({inheritAttrs:!1,__name:`mention`,props:(0,e.mergeModels)({modelValue:{type:String,default:``},placeholder:{type:String,attr:!1,default:``},size:{type:String,attr:!1,default:``},label:{type:String,attr:!1,default:``},borderless:{type:Boolean,attr:!1,default:!1},shrink:{type:Boolean,attr:!1,default:!0},errorTips:{type:Boolean,attr:!1,default:!0},round:{type:Boolean,attr:!1,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-mention`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,KOe,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-90445e3e`]]),JOe={install(e){e.component(`OgaMention`,qOe)}},YOe={class:`oga-material-label`},XOe=m((0,e.defineComponent)({inheritAttrs:!1,__name:`select`,props:(0,e.mergeModels)({placeholder:{type:String,attr:!1,default:``},label:{type:String,attr:!1,default:``},borderless:{type:Boolean,attr:!1,default:!1},shrink:{type:Boolean,attr:!1,default:!0},errorTips:{type:Boolean,attr:!1,default:!0},round:{type:Boolean,attr:!1,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-select`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,YOe,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`default`,{},void 0,!0)]),_:3},16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-688da058`]]),ZOe={install(e){e.component(`OgaSelect`,XOe)}},QOe={class:`oga-material-label`},$Oe=m((0,e.defineComponent)({inheritAttrs:!1,__name:`select-v2`,props:(0,e.mergeModels)({placeholder:{type:String,attr:!1,default:``},label:{type:String,attr:!1,default:``},borderless:{type:Boolean,attr:!1,default:!1},shrink:{type:Boolean,attr:!1,default:!0},errorTips:{type:Boolean,attr:!1,default:!0},round:{type:Boolean,attr:!1,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-select-v2`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,QOe,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(i.$slots,`default`,{},void 0,!0)]),_:3},16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-631d0f41`]]),eke={install(e){e.component(`OgaSelectV2`,$Oe)}},tke={class:`oga-material-label`},nke=m((0,e.defineComponent)({inheritAttrs:!1,__name:`time-picker`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-time-picker`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,tke,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-9bdbdfb9`]]),rke={install(e){e.component(`OgaTimePicker`,nke)}},ike={class:`oga-material-label`},ake=m((0,e.defineComponent)({inheritAttrs:!1,__name:`time-select`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-time-select`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,ike,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-96e80f7f`]]),oke={install(e){e.component(`OgaTimeSelect`,ake)}},ske={class:`oga-material-label`},cke=m((0,e.defineComponent)({inheritAttrs:!1,__name:`tree-select`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-tree-select`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,ske,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-555337ca`]]),lke={install(e){e.component(`OgaTreeSelect`,cke)}},uke={class:`oga-material-label`},dke=m((0,e.defineComponent)({inheritAttrs:!1,__name:`cascader`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-cascader`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,uke,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-6b2b03db`]]),fke={install(e){e.component(`OgaCascader`,dke)}},pke={class:`oga-material-label`},mke=m((0,e.defineComponent)({inheritAttrs:!1,__name:`date-picker`,props:(0,e.mergeModels)({placeholder:{type:String,default:``},label:{type:String,default:``},errorTips:{type:Boolean,default:!0},round:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n={...(0,e.useAttrs)()},r=(0,e.useModel)(t,`modelValue`);return(i,a)=>{let o=(0,e.resolveComponent)(`el-date-picker`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`oga-material`,`${t.errorTips?``:` no-tips`}`])},[(0,e.createElementVNode)(`label`,pke,(0,e.toDisplayString)(t.label),1),(0,e.createVNode)(o,(0,e.mergeProps)(n,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:t.round?`is-round`:``,placeholder:t.placeholder}),null,16,[`modelValue`,`class`,`placeholder`])],2)}}}),[[`__scopeId`,`data-v-e07fb60f`]]),hke={install(e){e.component(`OgaDatePicker`,mke)}},gke={install(e){e.component(`OgaIcon`,R3)}},B3=Symbol(),_ke=typeof global==`object`&&global&&global.Object===Object&&global,vke=typeof self==`object`&&self&&self.Object===Object&&self,V3=_ke||vke||Function(`return this`)(),H3=V3.Symbol,U3=Object.prototype,yke=U3.hasOwnProperty,bke=U3.toString,W3=H3?H3.toStringTag:void 0;function xke(e){var t=yke.call(e,W3),n=e[W3];try{e[W3]=void 0;var r=!0}catch{}var i=bke.call(e);return r&&(t?e[W3]=n:delete e[W3]),i}var Ske=xke,Cke=Object.prototype.toString;function wke(e){return Cke.call(e)}var Tke=wke,Eke=`[object Null]`,Dke=`[object Undefined]`,G3=H3?H3.toStringTag:void 0;function Oke(e){return e==null?e===void 0?Dke:Eke:G3&&G3 in Object(e)?Ske(e):Tke(e)}var K3=Oke;function kke(e){return typeof e==`object`&&!!e}var q3=kke,Ake=`[object Symbol]`;function jke(e){return typeof e==`symbol`||q3(e)&&K3(e)==Ake}var J3=jke;function Mke(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Nke=Mke,Y3=Array.isArray,Pke=1/0,X3=H3?H3.prototype:void 0,Z3=X3?X3.toString:void 0;function Q3(e){if(typeof e==`string`)return e;if(Y3(e))return Nke(e,Q3)+``;if(J3(e))return Z3?Z3.call(e):``;var t=e+``;return t==`0`&&1/e==-Pke?`-0`:t}var Fke=Q3;function Ike(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var $3=Ike;function Lke(e){return e}var Rke=Lke,zke=`[object AsyncFunction]`,Bke=`[object Function]`,Vke=`[object GeneratorFunction]`,Hke=`[object Proxy]`;function Uke(e){if(!$3(e))return!1;var t=K3(e);return t==Bke||t==Vke||t==zke||t==Hke}var Wke=Uke,e6=V3[`__core-js_shared__`],t6=function(){var e=/[^.]+$/.exec(e6&&e6.keys&&e6.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Gke(e){return!!t6&&t6 in e}var Kke=Gke,qke=Function.prototype.toString;function Jke(e){if(e!=null){try{return qke.call(e)}catch{}try{return e+``}catch{}}return``}var Yke=Jke,Xke=/[\\^$.*+?()[\]{}|]/g,Zke=/^\[object .+?Constructor\]$/,Qke=Function.prototype,$ke=Object.prototype,eAe=Qke.toString,tAe=$ke.hasOwnProperty,nAe=RegExp(`^`+eAe.call(tAe).replace(Xke,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function rAe(e){return!$3(e)||Kke(e)?!1:(Wke(e)?nAe:Zke).test(Yke(e))}var iAe=rAe;function aAe(e,t){return e?.[t]}var oAe=aAe;function sAe(e,t){var n=oAe(e,t);return iAe(n)?n:void 0}var n6=sAe;function cAe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var lAe=cAe,uAe=800,dAe=16,fAe=Date.now;function pAe(e){var t=0,n=0;return function(){var r=fAe(),i=dAe-(r-n);if(n=r,i>0){if(++t>=uAe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var mAe=pAe;function hAe(e){return function(){return e}}var gAe=hAe,r6=function(){try{var e=n6(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),_Ae=mAe(r6?function(e,t){return r6(e,`toString`,{configurable:!0,enumerable:!1,value:gAe(t),writable:!0})}:Rke),vAe=9007199254740991,yAe=/^(?:0|[1-9]\d*)$/;function bAe(e,t){var n=typeof e;return t??=vAe,!!t&&(n==`number`||n!=`symbol`&&yAe.test(e))&&e>-1&&e%1==0&&e<t}var i6=bAe;function xAe(e,t,n){t==`__proto__`&&r6?r6(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var SAe=xAe;function CAe(e,t){return e===t||e!==e&&t!==t}var a6=CAe,wAe=Object.prototype.hasOwnProperty;function TAe(e,t,n){var r=e[t];(!(wAe.call(e,t)&&a6(r,n))||n===void 0&&!(t in e))&&SAe(e,t,n)}var EAe=TAe,o6=Math.max;function DAe(e,t,n){return t=o6(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=o6(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),lAe(e,this,s)}}var OAe=DAe,kAe=9007199254740991;function AAe(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=kAe}var jAe=AAe,MAe=`[object Arguments]`;function NAe(e){return q3(e)&&K3(e)==MAe}var s6=NAe,c6=Object.prototype,PAe=c6.hasOwnProperty,FAe=c6.propertyIsEnumerable,l6=s6(function(){return arguments}())?s6:function(e){return q3(e)&&PAe.call(e,`callee`)&&!FAe.call(e,`callee`)},IAe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,LAe=/^\w*$/;function RAe(e,t){if(Y3(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||J3(e)?!0:LAe.test(e)||!IAe.test(e)||t!=null&&e in Object(t)}var zAe=RAe,u6=n6(Object,`create`);function BAe(){this.__data__=u6?u6(null):{},this.size=0}var VAe=BAe;function HAe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var UAe=HAe,WAe=`__lodash_hash_undefined__`,GAe=Object.prototype.hasOwnProperty;function KAe(e){var t=this.__data__;if(u6){var n=t[e];return n===WAe?void 0:n}return GAe.call(t,e)?t[e]:void 0}var qAe=KAe,JAe=Object.prototype.hasOwnProperty;function YAe(e){var t=this.__data__;return u6?t[e]!==void 0:JAe.call(t,e)}var XAe=YAe,ZAe=`__lodash_hash_undefined__`;function QAe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=u6&&t===void 0?ZAe:t,this}var $Ae=QAe;function d6(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d6.prototype.clear=VAe,d6.prototype.delete=UAe,d6.prototype.get=qAe,d6.prototype.has=XAe,d6.prototype.set=$Ae;var f6=d6;function eje(){this.__data__=[],this.size=0}var tje=eje;function nje(e,t){for(var n=e.length;n--;)if(a6(e[n][0],t))return n;return-1}var p6=nje,rje=Array.prototype.splice;function ije(e){var t=this.__data__,n=p6(t,e);return n<0?!1:(n==t.length-1?t.pop():rje.call(t,n,1),--this.size,!0)}var aje=ije;function oje(e){var t=this.__data__,n=p6(t,e);return n<0?void 0:t[n][1]}var sje=oje;function cje(e){return p6(this.__data__,e)>-1}var lje=cje;function uje(e,t){var n=this.__data__,r=p6(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var dje=uje;function m6(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}m6.prototype.clear=tje,m6.prototype.delete=aje,m6.prototype.get=sje,m6.prototype.has=lje,m6.prototype.set=dje;var fje=m6,pje=n6(V3,`Map`);function mje(){this.size=0,this.__data__={hash:new f6,map:new(pje||fje),string:new f6}}var hje=mje;function gje(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}var _je=gje;function vje(e,t){var n=e.__data__;return _je(t)?n[typeof t==`string`?`string`:`hash`]:n.map}var h6=vje;function yje(e){var t=h6(this,e).delete(e);return this.size-=t?1:0,t}var bje=yje;function xje(e){return h6(this,e).get(e)}var Sje=xje;function Cje(e){return h6(this,e).has(e)}var wje=Cje;function Tje(e,t){var n=h6(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Eje=Tje;function g6(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}g6.prototype.clear=hje,g6.prototype.delete=bje,g6.prototype.get=Sje,g6.prototype.has=wje,g6.prototype.set=Eje;var _6=g6,Dje=`Expected a function`;function v6(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Dje);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(v6.Cache||_6),n}v6.Cache=_6;var Oje=v6,kje=500;function Aje(e){var t=Oje(e,function(e){return n.size===kje&&n.clear(),e}),n=t.cache;return t}var jje=Aje,Mje=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nje=/\\(\\)?/g,Pje=jje(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(Mje,function(e,n,r,i){t.push(r?i.replace(Nje,`$1`):n||e)}),t});function Fje(e){return e==null?``:Fke(e)}var Ije=Fje;function Lje(e,t){return Y3(e)?e:zAe(e,t)?[e]:Pje(Ije(e))}var y6=Lje,Rje=1/0;function zje(e){if(typeof e==`string`||J3(e))return e;var t=e+``;return t==`0`&&1/e==-Rje?`-0`:t}var b6=zje;function Bje(e,t){t=y6(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[b6(t[n++])];return n&&n==r?e:void 0}var x6=Bje;function Vje(e,t,n){var r=e==null?void 0:x6(e,t);return r===void 0?n:r}var Hje=Vje;function Uje(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Wje=Uje,S6=H3?H3.isConcatSpreadable:void 0;function Gje(e){return Y3(e)||l6(e)||!!(S6&&e&&e[S6])}var Kje=Gje;function C6(e,t,n,r,i){var a=-1,o=e.length;for(n||=Kje,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?C6(s,t-1,n,r,i):Wje(i,s):r||(i[i.length]=s)}return i}var qje=C6;function Jje(e){return e!=null&&e.length?qje(e,1):[]}var Yje=Jje;function Xje(e){return _Ae(OAe(e,void 0,Yje),e+``)}var Zje=Xje;function Qje(e,t){return e!=null&&t in Object(e)}var $je=Qje;function eMe(e,t,n){t=y6(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=b6(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&jAe(i)&&i6(o,i)&&(Y3(e)||l6(e)))}var tMe=eMe;function nMe(e,t){return e!=null&&tMe(e,t,$je)}var rMe=nMe;function iMe(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}var w6=iMe;function aMe(e){return e==null}var T6=aMe;function oMe(e,t,n,r){if(!$3(e))return e;t=y6(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=b6(t[i]),l=n;if(c===`__proto__`||c===`constructor`||c===`prototype`)return e;if(i!=o){var u=s[c];l=r?r(u,c,s):void 0,l===void 0&&(l=$3(u)?u:i6(t[i+1])?[]:{})}EAe(s,c,l),s=s[c]}return e}var sMe=oMe;function cMe(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=x6(e,o);n(s,o)&&sMe(a,y6(o,e),s)}return a}var lMe=cMe;function uMe(e,t){return lMe(e,t,function(t,n){return rMe(e,n)})}var dMe=uMe,fMe=Zje(function(e,t){return e==null?{}:dMe(e,t)}),pMe={name:`en`,el:{breadcrumb:{label:`Breadcrumb`},colorpicker:{confirm:`OK`,clear:`Clear`,defaultLabel:`color picker`,description:`current color is {color}. press enter to select a new color.`,alphaLabel:`pick alpha value`,alphaDescription:`alpha {alpha}, current color is {color}`,hueLabel:`pick hue value`,hueDescription:`hue {hue}, current color is {color}`,svLabel:`pick saturation and brightness value`,svDescription:`saturation {saturation}, brightness {brightness}, current color is {color}`,predefineDescription:`select {value} as the color`},datepicker:{now:`Now`,today:`Today`,cancel:`Cancel`,clear:`Clear`,confirm:`OK`,dateTablePrompt:`Use the arrow keys and enter to select the day of the month`,monthTablePrompt:`Use the arrow keys and enter to select the month`,yearTablePrompt:`Use the arrow keys and enter to select the year`,selectedDate:`Selected date`,selectDate:`Select date`,selectTime:`Select time`,startDate:`Start Date`,startTime:`Start Time`,endDate:`End Date`,endTime:`End Time`,prevYear:`Previous Year`,nextYear:`Next Year`,prevMonth:`Previous Month`,nextMonth:`Next Month`,year:``,month1:`January`,month2:`February`,month3:`March`,month4:`April`,month5:`May`,month6:`June`,month7:`July`,month8:`August`,month9:`September`,month10:`October`,month11:`November`,month12:`December`,weeks:{sun:`Sun`,mon:`Mon`,tue:`Tue`,wed:`Wed`,thu:`Thu`,fri:`Fri`,sat:`Sat`},weeksFull:{sun:`Sunday`,mon:`Monday`,tue:`Tuesday`,wed:`Wednesday`,thu:`Thursday`,fri:`Friday`,sat:`Saturday`},months:{jan:`Jan`,feb:`Feb`,mar:`Mar`,apr:`Apr`,may:`May`,jun:`Jun`,jul:`Jul`,aug:`Aug`,sep:`Sep`,oct:`Oct`,nov:`Nov`,dec:`Dec`}},inputNumber:{decrease:`decrease number`,increase:`increase number`},select:{loading:`Loading`,noMatch:`No matching data`,noData:`No data`,placeholder:`Select`},mention:{loading:`Loading`},dropdown:{toggleDropdown:`Toggle Dropdown`},cascader:{noMatch:`No matching data`,loading:`Loading`,placeholder:`Select`,noData:`No data`},pagination:{goto:`Go to`,pagesize:`/page`,total:`Total {total}`,pageClassifier:``,page:`Page`,prev:`Go to previous page`,next:`Go to next page`,currentPage:`page {pager}`,prevPages:`Previous {pager} pages`,nextPages:`Next {pager} pages`,deprecationWarning:`Deprecated usages detected, please refer to the el-pagination documentation for more details`},dialog:{close:`Close this dialog`},drawer:{close:`Close this dialog`},messagebox:{title:`Message`,confirm:`OK`,cancel:`Cancel`,error:`Illegal input`,close:`Close this dialog`},upload:{deleteTip:`press delete to remove`,delete:`Delete`,preview:`Preview`,continue:`Continue`},slider:{defaultLabel:`slider between {min} and {max}`,defaultRangeStartLabel:`pick start value`,defaultRangeEndLabel:`pick end value`},table:{emptyText:`No Data`,confirmFilter:`Confirm`,resetFilter:`Reset`,clearFilter:`All`,sumText:`Sum`,selectAllLabel:`Select all rows`,selectRowLabel:`Select this row`,expandRowLabel:`Expand this row`,collapseRowLabel:`Collapse this row`,sortLabel:`Sort by {column}`,filterLabel:`Filter by {column}`},tag:{close:`Close this tag`},tour:{next:`Next`,previous:`Previous`,finish:`Finish`,close:`Close this dialog`},tree:{emptyText:`No Data`},transfer:{noMatch:`No matching data`,noData:`No data`,titles:[`List 1`,`List 2`],filterPlaceholder:`Enter keyword`,noCheckedFormat:`{total} items`,hasCheckedFormat:`{checked}/{total} checked`},image:{error:`FAILED`},pageHeader:{title:`Back`},popconfirm:{confirmButtonText:`Yes`,cancelButtonText:`No`},carousel:{leftArrow:`Carousel arrow left`,rightArrow:`Carousel arrow right`,indicator:`Carousel switch to index {index}`}}},mMe=t=>(n,r)=>hMe(n,r,(0,e.unref)(t)),hMe=(e,t,n)=>Hje(n,e,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`),gMe=t=>({lang:(0,e.computed)(()=>(0,e.unref)(t).name),locale:(0,e.isRef)(t)?t:(0,e.ref)(t),t:mMe(t)}),E6=Symbol(`localeContextKey`),_Me=t=>{let n=t||(0,e.inject)(E6,(0,e.ref)());return gMe((0,e.computed)(()=>n.value||pMe))},vMe=`is-`,D6=(e,t,n,r,i)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),r&&(a+=`__${r}`),i&&(a+=`--${i}`),a},O6=Symbol(`namespaceContextKey`),k6=t=>{let n=t||((0,e.getCurrentInstance)()?(0,e.inject)(O6,(0,e.ref)(`el`)):(0,e.ref)(`el`));return(0,e.computed)(()=>(0,e.unref)(n)||`el`)},A6=(e,t)=>{let n=k6(t);return{namespace:n,b:(t=``)=>D6(n.value,e,t,``,``),e:t=>t?D6(n.value,e,``,t,``):``,m:t=>t?D6(n.value,e,``,``,t):``,be:(t,r)=>t&&r?D6(n.value,e,t,r,``):``,em:(t,r)=>t&&r?D6(n.value,e,``,t,r):``,bm:(t,r)=>t&&r?D6(n.value,e,t,``,r):``,bem:(t,r,i)=>t&&r&&i?D6(n.value,e,t,r,i):``,is:(e,...t)=>{let n=t.length>=1?t[0]:!0;return e&&n?`${vMe}${e}`:``},cssVar:e=>{let t={};for(let r in e)e[r]&&(t[`--${n.value}-${r}`]=e[r]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{let r={};for(let i in t)t[i]&&(r[`--${n.value}-${e}-${i}`]=t[i]);return r},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}};process.env.NODE_ENV===`production`||Object.freeze({}),process.env.NODE_ENV===`production`||Object.freeze([]);var j6=()=>{},yMe=Object.prototype.hasOwnProperty,M6=(e,t)=>yMe.call(e,t),bMe=Array.isArray,N6=e=>typeof e==`function`,P6=e=>typeof e==`string`,F6=e=>typeof e==`object`&&!!e,xMe=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},SMe=/-\w/g,CMe=xMe(e=>e.replace(SMe,e=>e.slice(1).toUpperCase())),wMe=e=>e===void 0,I6=e=>typeof e==`boolean`,L6=e=>typeof e==`number`,R6=e=>typeof Element>`u`?!1:e instanceof Element,TMe=e=>P6(e)?!Number.isNaN(Number(e)):!1,z6=l({Vue:()=>e,Vue2:()=>void 0,del:()=>OMe,install:()=>EMe,isVue2:()=>!1,isVue3:()=>!0,set:()=>DMe},1);d(z6,require(`vue`),void 0,1);function EMe(){}function DMe(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function OMe(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function kMe(e,t){let n=(0,z6.shallowRef)();return(0,z6.watchEffect)(()=>{n.value=e()},{...t,flush:t?.flush??`sync`}),(0,z6.readonly)(n)}function B6(e){return(0,z6.getCurrentScope)()?((0,z6.onScopeDispose)(e),!0):!1}function V6(e){return typeof e==`function`?e():(0,z6.unref)(e)}var H6=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var AMe=Object.prototype.toString,jMe=e=>AMe.call(e)===`[object Object]`,MMe=()=>{};function NMe(e,t,n={}){let{immediate:r=!0}=n,i=(0,z6.ref)(!1),a=null;function o(){a&&=(clearTimeout(a),null)}function s(){i.value=!1,o()}function c(...n){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...n)},V6(t))}return r&&(i.value=!0,H6&&c()),B6(s),{isPending:(0,z6.readonly)(i),start:c,stop:s}}var U6=l({Vue:()=>e,Vue2:()=>void 0,del:()=>IMe,install:()=>PMe,isVue2:()=>!1,isVue3:()=>!0,set:()=>FMe},1);d(U6,require(`vue`),void 0,1);function PMe(){}function FMe(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function IMe(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function W6(e){let t=V6(e);return t?.$el??t}var G6=H6?window:void 0;H6&&window.document,H6&&window.navigator,H6&&window.location;function K6(...e){let t,n,r,i;if(typeof e[0]==`string`||Array.isArray(e[0])?([n,r,i]=e,t=G6):[t,n,r,i]=e,!t)return MMe;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);let a=[],o=()=>{a.forEach(e=>e()),a.length=0},s=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),c=(0,U6.watch)(()=>[W6(t),V6(i)],([e,t])=>{if(o(),!e)return;let i=jMe(t)?{...t}:t;a.push(...n.flatMap(t=>r.map(n=>s(e,t,n,i))))},{immediate:!0,flush:`post`}),l=()=>{c(),o()};return B6(l),l}function LMe(){let e=(0,U6.ref)(!1),t=(0,U6.getCurrentInstance)();return t&&(0,U6.onMounted)(()=>{e.value=!0},t),e}function RMe(e){let t=LMe();return(0,U6.computed)(()=>(t.value,!!e()))}function q6(e,t,n={}){let{window:r=G6,...i}=n,a,o=RMe(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=(0,U6.watch)((0,U6.computed)(()=>Array.isArray(e)?e.map(e=>W6(e)):[W6(e)]),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return B6(l),{isSupported:o,stop:l}}var J6=class extends Error{constructor(e){super(e),this.name=`ElementPlusError`}};function zMe(e,t){throw new J6(`[${e}] ${t}`)}function Y6(e,t){if(process.env.NODE_ENV!==`production`){let n=P6(e)?new J6(`[${e}] ${t}`):e;console.warn(n)}}var X6={current:0},Z6=(0,e.ref)(0),BMe=2e3,Q6=Symbol(`elZIndexContextKey`),$6=Symbol(`zIndexContextKey`),VMe=t=>{let n=(0,e.getCurrentInstance)()?(0,e.inject)(Q6,X6):X6,r=t||((0,e.getCurrentInstance)()?(0,e.inject)($6,void 0):void 0),i=(0,e.computed)(()=>{let t=(0,e.unref)(r);return L6(t)?t:BMe}),a=(0,e.computed)(()=>i.value+Z6.value);return!H6&&!(0,e.inject)(Q6)&&Y6(`ZIndexInjection`,`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
82
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:i,currentZIndex:a,nextZIndex:()=>(n.current++,Z6.value=n.current,a.value)}},HMe=`__epPropKey`,e8=e=>e,UMe=e=>F6(e)&&!!e.__epPropKey,t8=(t,n)=>{if(!F6(t)||UMe(t))return t;let{values:r,required:i,default:a,type:o,validator:s}=t,c={type:o,required:!!i,validator:r||s?i=>{let o=!1,c=[];if(r&&(c=Array.from(r),M6(t,`default`)&&c.push(a),o||=c.includes(i)),s&&(o||=s(i)),!o&&c.length>0){let t=[...new Set(c)].map(e=>JSON.stringify(e)).join(`, `);(0,e.warn)(`Invalid prop: validation failed${n?` for prop "${n}"`:``}. Expected one of [${t}], got value ${JSON.stringify(i)}.`)}return o}:void 0,[HMe]:!0};return M6(t,`default`)&&(c.default=a),c},n8=e=>w6(Object.entries(e).map(([e,t])=>[e,t8(t,e)])),r8=[``,`default`,`small`,`large`],i8=t8({type:String,values:r8,required:!1}),a8=Symbol(`size`),WMe=()=>{let t=(0,e.inject)(a8,{});return(0,e.computed)(()=>(0,e.unref)(t.size)||``)},GMe=Symbol(`emptyValuesContextKey`),KMe=n8({emptyValues:Array,valueOnClear:{type:e8([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=N6(e)?e():e,bMe(e)?e.every(e=>!e):!e)}}),o8=e=>Object.keys(e),s8=(0,e.ref)();function c8(t,n=void 0){let r=(0,e.getCurrentInstance)()?(0,e.inject)(B3,s8):s8;return t?(0,e.computed)(()=>r.value?.[t]??n):r}function l8(t,n){let r=c8(),i=A6(t,(0,e.computed)(()=>r.value?.namespace||`el`)),a=_Me((0,e.computed)(()=>r.value?.locale)),o=VMe((0,e.computed)(()=>r.value?.zIndex||2e3)),s=(0,e.computed)(()=>(0,e.unref)(n)||r.value?.size||``);return u8((0,e.computed)(()=>(0,e.unref)(r)||{})),{ns:i,locale:a,zIndex:o,size:s}}var u8=(t,n,r=!1)=>{let i=!!(0,e.getCurrentInstance)(),a=i?c8():void 0,o=n?.provide??(i?e.provide:void 0);if(!o){Y6(`provideGlobalConfig`,`provideGlobalConfig() can only be used inside setup().`);return}let s=(0,e.computed)(()=>{let n=(0,e.unref)(t);return a?.value?qMe(a.value,n):n});return o(B3,s),o(E6,(0,e.computed)(()=>s.value.locale)),o(O6,(0,e.computed)(()=>s.value.namespace)),o($6,(0,e.computed)(()=>s.value.zIndex)),o(a8,{size:(0,e.computed)(()=>s.value.size||``)}),o(GMe,(0,e.computed)(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(r||!s8.value)&&(s8.value=s.value),s},qMe=(e,t)=>{let n=[...new Set([...o8(e),...o8(t)])],r={};for(let i of n)r[i]=t[i]===void 0?e[i]:t[i];return r},d8=`update:modelValue`,f8=`change`,p8=`input`,m8=(e,t)=>{if(e.install=n=>{for(let r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(let[n,r]of Object.entries(t))e[n]=r;return e},JMe=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),YMe=e=>(e.install=j6,e),XMe=`utils/dom/style`,h8=(e=``)=>e.split(` `).filter(e=>!!e.trim()),ZMe=(e,t)=>{if(!e||!t)return!1;if(t.includes(` `))throw Error(`className should not contain space.`);return e.classList.contains(t)},QMe=(e,t)=>{!e||!t.trim()||e.classList.add(...h8(t))},$Me=(e,t)=>{!e||!t.trim()||e.classList.remove(...h8(t))},eNe=(e,t)=>{if(!H6||!e||!t)return``;let n=CMe(t);n===`float`&&(n=`cssFloat`);try{let t=e.style[n];if(t)return t;let r=document.defaultView?.getComputedStyle(e,``);return r?r[n]:``}catch{return e.style[n]}};function g8(e,t=`px`){if(!e&&e!==0)return``;if(L6(e)||TMe(e))return`${e}${t}`;if(P6(e))return e;Y6(XMe,`binding value must be a string or number`)}var _8,tNe=e=>{var t;if(!H6)return 0;if(_8!==void 0)return _8;let n=document.createElement(`div`);n.className=`${e}-scrollbar__wrap`,n.style.visibility=`hidden`,n.style.width=`100px`,n.style.position=`absolute`,n.style.top=`-9999px`,document.body.appendChild(n);let r=n.offsetWidth;n.style.overflow=`scroll`;let i=document.createElement(`div`);i.style.width=`100%`,n.appendChild(i);let a=i.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),_8=r-a,_8},v8=e8([String,Object,Function]),y8={Close:Se,SuccessFilled:De,InfoFilled:we,WarningFilled:ke,CircleCloseFilled:be},b8={primary:we,success:De,warning:ke,error:be,info:we},nNe={validating:Te,success:ye,error:xe},rNe=n8({size:{type:e8([Number,String])},color:{type:String}}),x8=m8((0,e.defineComponent)({name:`ElIcon`,inheritAttrs:!1,__name:`icon`,props:rNe,setup(t){let n=t,r=A6(`icon`),i=(0,e.computed)(()=>{let{size:e,color:t}=n,r=g8(e);return!r&&!t?{}:{fontSize:r,"--color":t}});return(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`i`,(0,e.mergeProps)({class:(0,e.unref)(r).b(),style:i.value},t.$attrs),[(0,e.renderSlot)(t.$slots,`default`)],16))}})),S8=(e=>(e[e.TEXT=1]=`TEXT`,e[e.CLASS=2]=`CLASS`,e[e.STYLE=4]=`STYLE`,e[e.PROPS=8]=`PROPS`,e[e.FULL_PROPS=16]=`FULL_PROPS`,e[e.HYDRATE_EVENTS=32]=`HYDRATE_EVENTS`,e[e.STABLE_FRAGMENT=64]=`STABLE_FRAGMENT`,e[e.KEYED_FRAGMENT=128]=`KEYED_FRAGMENT`,e[e.UNKEYED_FRAGMENT=256]=`UNKEYED_FRAGMENT`,e[e.NEED_PATCH=512]=`NEED_PATCH`,e[e.DYNAMIC_SLOTS=1024]=`DYNAMIC_SLOTS`,e[e.HOISTED=-1]=`HOISTED`,e[e.BAIL=-2]=`BAIL`,e))(S8||{}),iNe=n8({ariaLabel:String,ariaOrientation:{type:String,values:[`horizontal`,`vertical`,`undefined`]},ariaControls:String}),aNe=e=>fMe(iNe,e),C8=e=>e,oNe=n8({id:{type:String,default:void 0},size:i8,disabled:{type:Boolean,default:void 0},modelValue:{type:e8([String,Number,Object]),default:``},modelModifiers:{type:e8(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:e8(String),default:`text`},resize:{type:String,values:[`none`,`both`,`horizontal`,`vertical`]},autosize:{type:e8([Boolean,Object]),default:!1},autocomplete:{type:e8(String),default:`off`},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:v8,default:xe},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:[`inside`,`outside`],default:`inside`},suffixIcon:{type:v8},prefixIcon:{type:v8},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:e8([Object,Array,String]),default:()=>C8({})},autofocus:Boolean,rows:{type:Number,default:2},...aNe([`ariaLabel`]),inputmode:{type:e8(String),default:void 0},name:String}),sNe={[d8]:e=>P6(e),input:e=>P6(e),change:(e,t)=>P6(e)&&(t instanceof Event||t===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent};(0,e.markRaw)(xe);var cNe=()=>H6&&/firefox/i.test(window.navigator.userAgent),lNe=()=>H6&&/android/i.test(window.navigator.userAgent),w8=void 0,uNe={height:`0`,visibility:`hidden`,overflow:cNe()?``:`hidden`,position:`absolute`,"z-index":`-1000`,top:`0`,right:`0`},dNe=[`letter-spacing`,`line-height`,`padding-top`,`padding-bottom`,`font-family`,`font-weight`,`font-size`,`text-rendering`,`text-transform`,`width`,`text-indent`,`padding-left`,`padding-right`,`border-width`,`box-sizing`,`word-break`],T8=e=>{let t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function fNe(e){let t=window.getComputedStyle(e),n=t.getPropertyValue(`box-sizing`),r=Number.parseFloat(t.getPropertyValue(`padding-bottom`))+Number.parseFloat(t.getPropertyValue(`padding-top`)),i=Number.parseFloat(t.getPropertyValue(`border-bottom-width`))+Number.parseFloat(t.getPropertyValue(`border-top-width`));return{contextStyle:dNe.map(e=>[e,t.getPropertyValue(e)]),paddingSize:r,borderSize:i,boxSizing:n}}function E8(e,t=1,n){var r;w8||(w8=document.createElement(`textarea`),(e.parentNode??document.body).appendChild(w8));let{paddingSize:i,borderSize:a,boxSizing:o,contextStyle:s}=fNe(e);s.forEach(([e,t])=>w8?.style.setProperty(e,t)),Object.entries(uNe).forEach(([e,t])=>w8?.style.setProperty(e,t,`important`)),w8.value=e.value||e.placeholder||``;let c=w8.scrollHeight,l={};o===`border-box`?c+=a:o===`content-box`&&(c-=i),w8.value=``;let u=w8.scrollHeight-i;if(L6(t)){let e=u*t;o===`border-box`&&(e=e+i+a),c=Math.max(e,c),l.minHeight=`${e}px`}if(L6(n)){let e=u*n;o===`border-box`&&(e=e+i+a),c=Math.min(e,c)}return l.height=`${c}px`,(r=w8.parentNode)==null||r.removeChild(w8),w8=void 0,l}var pNe=[`class`,`style`],mNe=/^on[A-Z]/,hNe=(t={})=>{let{excludeListeners:n=!1,excludeKeys:r}=t,i=(0,e.computed)(()=>(r?.value||[]).concat(pNe)),a=(0,e.getCurrentInstance)();return a?(0,e.computed)(()=>w6(Object.entries(a.proxy?.$attrs).filter(([e])=>!i.value.includes(e)&&!(n&&mNe.test(e))))):(Y6(`use-attrs`,`getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function`),(0,e.computed)(()=>({})))},D8=t=>{let n=(0,e.getCurrentInstance)();return(0,e.computed)(()=>n?.proxy?.$props?.[t])},O8=Symbol(`formContextKey`),k8=Symbol(`formItemContextKey`),A8=(t,n={})=>{let r=(0,e.ref)(void 0),i=n.prop?r:D8(`size`),a=n.global?r:WMe(),o=n.form?{size:void 0}:(0,e.inject)(O8,void 0),s=n.formItem?{size:void 0}:(0,e.inject)(k8,void 0);return(0,e.computed)(()=>i.value||(0,e.unref)(t)||s?.size||o?.size||a.value||``)},j8=t=>{let n=D8(`disabled`),r=(0,e.inject)(O8,void 0);return(0,e.computed)(()=>n.value??(0,e.unref)(t)??r?.disabled??!1)},gNe=`a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`,M8=e=>typeof Element>`u`?!1:e instanceof Element,_Ne=e=>process.env.NODE_ENV===`test`?!0:getComputedStyle(e).position===`fixed`?!1:e.offsetParent!==null,N8=e=>Array.from(e.querySelectorAll(gNe)).filter(e=>P8(e)&&_Ne(e)),P8=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute(`tabIndex`)!==null)return!0;if(e.tabIndex<0||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`)return!1;switch(e.nodeName){case`A`:return!!e.href&&e.rel!==`ignore`;case`INPUT`:return!(e.type===`hidden`||e.type===`file`);case`BUTTON`:case`SELECT`:case`TEXTAREA`:return!0;default:return!1}},vNe=(e,t)=>{if(!e||!e.focus)return;let n=!1;M8(e)&&!P8(e)&&!e.getAttribute(`tabindex`)&&(e.setAttribute(`tabindex`,`-1`),n=!0),e.focus(t),M8(e)&&n&&e.removeAttribute(`tabindex`)};function yNe(t,{disabled:n,beforeFocus:r,afterFocus:i,beforeBlur:a,afterBlur:o}={}){let{emit:s}=(0,e.getCurrentInstance)(),c=(0,e.shallowRef)(),l=(0,e.ref)(!1),u=t=>{let a=N6(r)?r(t):!1;(0,e.unref)(n)||l.value||a||(l.value=!0,s(`focus`,t),i?.())},d=t=>{let r=N6(a)?a(t):!1;(0,e.unref)(n)||t.relatedTarget&&c.value?.contains(t.relatedTarget)||r||(l.value=!1,s(`blur`,t),o?.())};return(0,e.watch)([c,()=>(0,e.unref)(n)],([e,t])=>{e&&(t?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,`-1`))}),K6(c,`focus`,u,!0),K6(c,`blur`,d,!0),K6(c,`click`,r=>{var i;(0,e.unref)(n)||P8(r.target)||c.value?.contains(document.activeElement)&&c.value!==document.activeElement||(i=t.value)==null||i.focus()},!0),process.env.NODE_ENV===`test`&&(0,e.onMounted)(()=>{let e=R6(t.value)?t.value:document.querySelector(`input,textarea`);e&&(K6(e,`focus`,u,!0),K6(e,`blur`,d,!0))}),{isFocused:l,wrapperRef:c,handleFocus:u,handleBlur:d}}var F8={prefix:Math.floor(Math.random()*1e4),current:0},bNe=Symbol(`elIdInjection`),xNe=()=>(0,e.getCurrentInstance)()?(0,e.inject)(bNe,F8):F8,I8=t=>{let n=xNe();!H6&&n===F8&&Y6(`IdInjection`,`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
83
+ usage: app.provide(ID_INJECTION_KEY, {
84
+ prefix: number,
85
+ current: number,
86
+ })`);let r=k6();return kMe(()=>(0,e.unref)(t)||`${r.value}-id-${n.prefix}-${n.current++}`)},L8=()=>({form:(0,e.inject)(O8,void 0),formItem:(0,e.inject)(k8,void 0)}),SNe=(t,{formItemContext:n,disableIdGeneration:r,disableIdManagement:i})=>{r||=(0,e.ref)(!1),i||=(0,e.ref)(!1);let a=(0,e.getCurrentInstance)(),o=()=>{let e=a?.parent;for(;e;){if(e.type.name===`ElFormItem`)return!1;if(e.type.name===`ElLabelWrap`)return!0;e=e.parent}return!1},s=(0,e.ref)(),c,l=(0,e.computed)(()=>!!(!(t.label||t.ariaLabel)&&n&&n.inputIds&&n.inputIds?.length<=1));return(0,e.onMounted)(()=>{c=(0,e.watch)([(0,e.toRef)(t,`id`),r],([e,t])=>{let r=e??(t?void 0:I8().value);r!==s.value&&(n?.removeInputId&&!o()&&(s.value&&n.removeInputId(s.value),!i?.value&&!t&&r&&n.addInputId(r)),s.value=r)},{immediate:!0})}),(0,e.onUnmounted)(()=>{c&&c(),n?.removeInputId&&s.value&&n.removeInputId(s.value)}),{isLabeledByFormItem:l,inputId:s}},CNe=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function wNe({afterComposition:t,emit:n}){let r=(0,e.ref)(!1),i=e=>{n?.(`compositionstart`,e),r.value=!0},a=e=>{n?.(`compositionupdate`,e);let t=e.target?.value;r.value=!CNe(t[t.length-1]||``)},o=i=>{n?.(`compositionend`,i),r.value&&(r.value=!1,(0,e.nextTick)(()=>t(i)))};return{isComposing:r,handleComposition:e=>{e.type===`compositionend`?o(e):a(e)},handleCompositionStart:i,handleCompositionUpdate:a,handleCompositionEnd:o}}function TNe(e){let t;function n(){if(e.value==null)return;let{selectionStart:n,selectionEnd:r,value:i}=e.value;n==null||r==null||(t={selectionStart:n,selectionEnd:r,value:i,beforeTxt:i.slice(0,Math.max(0,n)),afterTxt:i.slice(Math.max(0,r))})}function r(){if(e.value==null||t==null)return;let{value:n}=e.value,{beforeTxt:r,afterTxt:i,selectionStart:a}=t;if(r==null||i==null||a==null)return;let o=n.length;if(n.endsWith(i))o=n.length-i.length;else if(n.startsWith(r))o=r.length;else{let e=r[a-1],t=n.indexOf(e,a-1);t!==-1&&(o=t+1)}e.value.setSelectionRange(o,o)}return[n,r]}var ENe=[`id`,`name`,`minlength`,`maxlength`,`type`,`disabled`,`readonly`,`autocomplete`,`tabindex`,`aria-label`,`placeholder`,`form`,`autofocus`,`role`,`inputmode`],DNe=[`id`,`name`,`minlength`,`maxlength`,`tabindex`,`disabled`,`readonly`,`autocomplete`,`aria-label`,`placeholder`,`form`,`autofocus`,`rows`,`role`],R8=`ElInput`,ONe=m8((0,e.defineComponent)({name:R8,inheritAttrs:!1,__name:`input`,props:oNe,emits:sNe,setup(t,{expose:n,emit:r}){let i=t,a=r,o=(0,e.useAttrs)(),s=hNe(),c=(0,e.useSlots)(),l=(0,e.computed)(()=>[i.type===`textarea`?_.b():g.b(),g.m(m.value),g.is(`disabled`,h.value),g.is(`exceed`,le.value),{[g.b(`group`)]:c.prepend||c.append,[g.m(`prefix`)]:c.prefix||i.prefixIcon,[g.m(`suffix`)]:c.suffix||i.suffixIcon||i.clearable||i.showPassword,[g.bm(`suffix`,`password-clear`)]:ae.value&&oe.value,[g.b(`hidden`)]:i.type===`hidden`},o.class]),u=(0,e.computed)(()=>[g.e(`wrapper`),g.is(`focus`,E.value)]),{form:d,formItem:f}=L8(),{inputId:p}=SNe(i,{formItemContext:f}),m=A8(),h=j8(),g=A6(`input`),_=A6(`textarea`),v=(0,e.shallowRef)(),y=(0,e.shallowRef)(),b=(0,e.ref)(!1),x=(0,e.ref)(!1),S=(0,e.ref)(),C=(0,e.shallowRef)(i.inputStyle),w=(0,e.computed)(()=>v.value||y.value),{wrapperRef:T,isFocused:E,handleFocus:D,handleBlur:O}=yNe(w,{disabled:h,afterBlur(){var e;i.validateEvent&&((e=f?.validate)==null||e.call(f,`blur`).catch(e=>Y6(e)))}}),ee=(0,e.computed)(()=>d?.statusIcon??!1),k=(0,e.computed)(()=>f?.validateState||``),te=(0,e.computed)(()=>k.value&&nNe[k.value]),A=(0,e.computed)(()=>x.value?Oe:Ce),ne=(0,e.computed)(()=>[o.style]),re=(0,e.computed)(()=>[i.inputStyle,C.value,{resize:i.resize}]),ie=(0,e.computed)(()=>T6(i.modelValue)?``:String(i.modelValue)),ae=(0,e.computed)(()=>i.clearable&&!h.value&&!i.readonly&&!!ie.value&&(E.value||b.value)),oe=(0,e.computed)(()=>i.showPassword&&!h.value&&!!ie.value),se=(0,e.computed)(()=>i.showWordLimit&&!!i.maxlength&&(i.type===`text`||i.type===`textarea`)&&!h.value&&!i.readonly&&!i.showPassword),ce=(0,e.computed)(()=>ie.value.length),le=(0,e.computed)(()=>!!se.value&&ce.value>Number(i.maxlength)),ue=(0,e.computed)(()=>!!c.suffix||!!i.suffixIcon||ae.value||i.showPassword||se.value||!!k.value&&ee.value),de=(0,e.computed)(()=>!!Object.keys(i.modelModifiers).length),[fe,pe]=TNe(v);q6(y,e=>{if(he(),!se.value||i.resize!==`both`&&i.resize!==`horizontal`)return;let{width:t}=e[0].contentRect;S.value={right:`calc(100% - ${t+22-10}px)`}});let me=()=>{let{type:t,autosize:n}=i;if(!(!H6||t!==`textarea`||!y.value))if(n){let t=F6(n)?n.minRows:void 0,r=F6(n)?n.maxRows:void 0,i=E8(y.value,t,r);C.value={overflowY:`hidden`,...i},(0,e.nextTick)(()=>{y.value.offsetHeight,C.value=i})}else C.value={minHeight:E8(y.value).minHeight}},he=(e=>{let t=!1;return()=>{t||!i.autosize||y.value?.offsetParent!==null&&(setTimeout(e),t=!0)}})(me),ge=()=>{let e=w.value,t=i.formatter?i.formatter(ie.value):ie.value;!e||e.value===t||i.type===`file`||(e.value=t)},_e=e=>{let{trim:t,number:n}=i.modelModifiers;return t&&(e=e.trim()),n&&(e=`${T8(e)}`),i.formatter&&i.parser&&(e=i.parser(e)),e},ve=async t=>{if(be.value)return;let{lazy:n}=i.modelModifiers,{value:r}=t.target;if(n){a(p8,r);return}if(r=_e(r),String(r)===ie.value){i.formatter&&ge();return}fe(),a(d8,r),a(p8,r),await(0,e.nextTick)(),(i.formatter&&i.parser||!de.value)&&ge(),pe()},ye=async t=>{let{value:n}=t.target;n=_e(n),i.modelModifiers.lazy&&a(d8,n),a(f8,n,t),await(0,e.nextTick)(),ge()},{isComposing:be,handleCompositionStart:xe,handleCompositionUpdate:Se,handleCompositionEnd:we}=wNe({emit:a,afterComposition:ve}),Te=()=>{x.value=!x.value},Ee=()=>w.value?.focus(),De=()=>w.value?.blur(),ke=e=>{b.value=!1,a(`mouseleave`,e)},Ae=e=>{b.value=!0,a(`mouseenter`,e)},je=e=>{a(`keydown`,e)},Me=()=>{var e;(e=w.value)==null||e.select()},Ne=()=>{a(d8,``),a(f8,``),a(`clear`),a(p8,``)};return(0,e.watch)(()=>i.modelValue,()=>{var t;(0,e.nextTick)(()=>me()),i.validateEvent&&((t=f?.validate)==null||t.call(f,`change`).catch(e=>Y6(e)))}),(0,e.watch)(ie,e=>{if(!w.value)return;let{trim:t,number:n}=i.modelModifiers,r=w.value.value,a=(n||i.type===`number`)&&!/^0\d/.test(r)?`${T8(r)}`:r;a!==e&&(document.activeElement===w.value&&w.value.type!==`range`&&t&&a.trim()===e||ge())}),(0,e.watch)(()=>i.type,async()=>{await(0,e.nextTick)(),ge(),me()}),(0,e.onMounted)(()=>{!i.formatter&&i.parser&&Y6(R8,`If you set the parser, you also need to set the formatter.`),ge(),(0,e.nextTick)(me)}),n({input:v,textarea:y,ref:w,textareaStyle:re,autosize:(0,e.toRef)(i,`autosize`),isComposing:be,focus:Ee,blur:De,select:Me,clear:Ne,resizeTextarea:me}),(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([l.value,{[(0,e.unref)(g).bm(`group`,`append`)]:n.$slots.append,[(0,e.unref)(g).bm(`group`,`prepend`)]:n.$slots.prepend}]),style:(0,e.normalizeStyle)(ne.value),onMouseenter:Ae,onMouseleave:ke},[(0,e.createCommentVNode)(` input `),t.type===`textarea`?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createCommentVNode)(` textarea `),(0,e.createElementVNode)(`textarea`,(0,e.mergeProps)({id:(0,e.unref)(p),ref_key:`textarea`,ref:y,class:[(0,e.unref)(_).e(`inner`),(0,e.unref)(g).is(`focus`,(0,e.unref)(E))]},(0,e.unref)(s),{name:t.name,minlength:t.minlength,maxlength:t.maxlength,tabindex:t.tabindex,disabled:(0,e.unref)(h),readonly:t.readonly,autocomplete:t.autocomplete,style:re.value,"aria-label":t.ariaLabel,placeholder:t.placeholder,form:t.form,autofocus:t.autofocus,rows:t.rows,role:t.containerRole,onCompositionstart:r[3]||=(...t)=>(0,e.unref)(xe)&&(0,e.unref)(xe)(...t),onCompositionupdate:r[4]||=(...t)=>(0,e.unref)(Se)&&(0,e.unref)(Se)(...t),onCompositionend:r[5]||=(...t)=>(0,e.unref)(we)&&(0,e.unref)(we)(...t),onInput:ve,onFocus:r[6]||=(...t)=>(0,e.unref)(D)&&(0,e.unref)(D)(...t),onBlur:r[7]||=(...t)=>(0,e.unref)(O)&&(0,e.unref)(O)(...t),onChange:ye,onKeydown:je}),null,16,DNe),se.value?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:0,style:(0,e.normalizeStyle)(S.value),class:(0,e.normalizeClass)([(0,e.unref)(g).e(`count`),(0,e.unref)(g).is(`outside`,t.wordLimitPosition===`outside`)])},(0,e.toDisplayString)(ce.value)+` / `+(0,e.toDisplayString)(t.maxlength),7)):(0,e.createCommentVNode)(`v-if`,!0)],64)):((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[(0,e.createCommentVNode)(` prepend slot `),n.$slots.prepend?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,class:(0,e.normalizeClass)((0,e.unref)(g).be(`group`,`prepend`))},[(0,e.renderSlot)(n.$slots,`prepend`)],2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,{ref_key:`wrapperRef`,ref:T,class:(0,e.normalizeClass)(u.value)},[(0,e.createCommentVNode)(` prefix slot `),n.$slots.prefix||t.prefixIcon?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:0,class:(0,e.normalizeClass)((0,e.unref)(g).e(`prefix`))},[(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)((0,e.unref)(g).e(`prefix-inner`))},[(0,e.renderSlot)(n.$slots,`prefix`),t.prefixIcon?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:0,class:(0,e.normalizeClass)((0,e.unref)(g).e(`icon`))},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.prefixIcon)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0)],2)],2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`input`,(0,e.mergeProps)({id:(0,e.unref)(p),ref_key:`input`,ref:v,class:(0,e.unref)(g).e(`inner`)},(0,e.unref)(s),{name:t.name,minlength:t.minlength,maxlength:t.maxlength,type:t.showPassword?x.value?`text`:`password`:t.type,disabled:(0,e.unref)(h),readonly:t.readonly,autocomplete:t.autocomplete,tabindex:t.tabindex,"aria-label":t.ariaLabel,placeholder:t.placeholder,style:t.inputStyle,form:t.form,autofocus:t.autofocus,role:t.containerRole,inputmode:t.inputmode,onCompositionstart:r[0]||=(...t)=>(0,e.unref)(xe)&&(0,e.unref)(xe)(...t),onCompositionupdate:r[1]||=(...t)=>(0,e.unref)(Se)&&(0,e.unref)(Se)(...t),onCompositionend:r[2]||=(...t)=>(0,e.unref)(we)&&(0,e.unref)(we)(...t),onInput:ve,onChange:ye,onKeydown:je}),null,16,ENe),(0,e.createCommentVNode)(` suffix slot `),ue.value?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:1,class:(0,e.normalizeClass)((0,e.unref)(g).e(`suffix`))},[(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)((0,e.unref)(g).e(`suffix-inner`))},[!ae.value||!oe.value||!se.value?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[(0,e.renderSlot)(n.$slots,`suffix`),t.suffixIcon?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:0,class:(0,e.normalizeClass)((0,e.unref)(g).e(`icon`))},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.suffixIcon)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0)],64)):(0,e.createCommentVNode)(`v-if`,!0),ae.value?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:1,class:(0,e.normalizeClass)([(0,e.unref)(g).e(`icon`),(0,e.unref)(g).e(`clear`)]),onMousedown:(0,e.withModifiers)((0,e.unref)(j6),[`prevent`]),onClick:Ne},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.clearIcon)))]),_:1},8,[`class`,`onMousedown`])):(0,e.createCommentVNode)(`v-if`,!0),oe.value?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:2,class:(0,e.normalizeClass)([(0,e.unref)(g).e(`icon`),(0,e.unref)(g).e(`password`)]),onClick:Te,onMousedown:(0,e.withModifiers)((0,e.unref)(j6),[`prevent`]),onMouseup:(0,e.withModifiers)((0,e.unref)(j6),[`prevent`])},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(A.value)))]),_:1},8,[`class`,`onMousedown`,`onMouseup`])):(0,e.createCommentVNode)(`v-if`,!0),se.value?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:3,class:(0,e.normalizeClass)([(0,e.unref)(g).e(`count`),(0,e.unref)(g).is(`outside`,t.wordLimitPosition===`outside`)])},[(0,e.createElementVNode)(`span`,{class:(0,e.normalizeClass)((0,e.unref)(g).e(`count-inner`))},(0,e.toDisplayString)(ce.value)+` / `+(0,e.toDisplayString)(t.maxlength),3)],2)):(0,e.createCommentVNode)(`v-if`,!0),k.value&&te.value&&ee.value?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:4,class:(0,e.normalizeClass)([(0,e.unref)(g).e(`icon`),(0,e.unref)(g).e(`validateIcon`),(0,e.unref)(g).is(`loading`,k.value===`validating`)])},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(te.value)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0)],2)],2)):(0,e.createCommentVNode)(`v-if`,!0)],2),(0,e.createCommentVNode)(` append slot `),n.$slots.append?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,class:(0,e.normalizeClass)((0,e.unref)(g).be(`group`,`append`))},[(0,e.renderSlot)(n.$slots,`append`)],2)):(0,e.createCommentVNode)(`v-if`,!0)],64))],38))}})),z8={tab:`Tab`,enter:`Enter`,space:`Space`,left:`ArrowLeft`,up:`ArrowUp`,right:`ArrowRight`,down:`ArrowDown`,esc:`Escape`,delete:`Delete`,backspace:`Backspace`,numpadEnter:`NumpadEnter`,pageUp:`PageUp`,pageDown:`PageDown`,home:`Home`,end:`End`},B8=`focus-trap.focus-after-trapped`,V8=`focus-trap.focus-after-released`,kNe=`focus-trap.focusout-prevented`,H8={cancelable:!0,bubbles:!1},ANe={cancelable:!0,bubbles:!1},U8=`focusAfterTrapped`,W8=`focusAfterReleased`,jNe=Symbol(`elFocusTrap`),G8=(0,e.ref)(),K8=(0,e.ref)(0),q8=(0,e.ref)(0),J8=0,Y8=e=>{let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},X8=(e,t)=>{for(let n of e)if(!MNe(n,t))return n},MNe=(e,t)=>{if(process.env.NODE_ENV===`test`)return!1;if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1},NNe=e=>{let t=Y8(e);return[X8(t,e),X8(t.reverse(),e)]},PNe=e=>e instanceof HTMLInputElement&&`select`in e,Z8=(e,t)=>{if(e){let n=document.activeElement;vNe(e,{preventScroll:!0}),q8.value=window.performance.now(),e!==n&&PNe(e)&&t&&e.select()}};function Q8(e,t){let n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}var FNe=()=>{let e=[];return{push:t=>{let n=e[0];n&&t!==n&&n.pause(),e=Q8(e,t),e.unshift(t)},remove:t=>{var n,r;e=Q8(e,t),(r=(n=e[0])?.resume)==null||r.call(n)}}},INe=(e,t=!1)=>{let n=document.activeElement;for(let r of e)if(Z8(r,t),document.activeElement!==n)return},$8=FNe(),LNe=()=>K8.value>q8.value,e5=()=>{G8.value=`pointer`,K8.value=window.performance.now()},t5=()=>{G8.value=`keyboard`,K8.value=window.performance.now()},RNe=()=>((0,e.onMounted)(()=>{J8===0&&(document.addEventListener(`mousedown`,e5),document.addEventListener(`touchstart`,e5),document.addEventListener(`keydown`,t5)),J8++}),(0,e.onBeforeUnmount)(()=>{J8--,J8<=0&&(document.removeEventListener(`mousedown`,e5),document.removeEventListener(`touchstart`,e5),document.removeEventListener(`keydown`,t5))}),{focusReason:G8,lastUserFocusTimestamp:K8,lastAutomatedFocusTimestamp:q8}),n5=e=>new CustomEvent(kNe,{...ANe,detail:e}),r5=e=>{if(e.code&&e.code!==`Unidentified`)return e.code;let t=zNe(e);if(t){if(Object.values(z8).includes(t))return t;switch(t){case` `:return z8.space;default:return``}}return``},zNe=e=>{let t=e.key&&e.key!==`Unidentified`?e.key:``;if(!t&&e.type===`keyup`&&lNe()){let n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},i5=[],a5=e=>{r5(e)===z8.esc&&i5.forEach(t=>t(e))},BNe=t=>{(0,e.onMounted)(()=>{i5.length===0&&document.addEventListener(`keydown`,a5),H6&&i5.push(t)}),(0,e.onBeforeUnmount)(()=>{i5=i5.filter(e=>e!==t),i5.length===0&&H6&&document.removeEventListener(`keydown`,a5)})},VNe=(0,e.defineComponent)({name:`ElFocusTrap`,inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:`first`}},emits:[U8,W8,`focusin`,`focusout`,`focusout-prevented`,`release-requested`],setup(t,{emit:n}){let r=(0,e.ref)(),i,a,{focusReason:o}=RNe();BNe(e=>{t.trapped&&!s.paused&&n(`release-requested`,e)});let s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=e=>{if(!t.loop&&!t.trapped||s.paused)return;let{altKey:r,ctrlKey:i,metaKey:a,currentTarget:c,shiftKey:l}=e,{loop:u}=t,d=r5(e)===z8.tab&&!r&&!i&&!a,f=document.activeElement;if(d&&f){let t=c,[r,i]=NNe(t);if(r&&i){if(!l&&f===i){let t=n5({focusReason:o.value});n(`focusout-prevented`,t),t.defaultPrevented||(e.preventDefault(),u&&Z8(r,!0))}else if(l&&[r,t].includes(f)){let t=n5({focusReason:o.value});n(`focusout-prevented`,t),t.defaultPrevented||(e.preventDefault(),u&&Z8(i,!0))}}else if(f===t){let t=n5({focusReason:o.value});n(`focusout-prevented`,t),t.defaultPrevented||e.preventDefault()}}};(0,e.provide)(jNe,{focusTrapRef:r,onKeydown:c}),(0,e.watch)(()=>t.focusTrapEl,e=>{e&&(r.value=e)},{immediate:!0}),(0,e.watch)([r],([e],[t])=>{e&&(e.addEventListener(`keydown`,c),e.addEventListener(`focusin`,d),e.addEventListener(`focusout`,f)),t&&(t.removeEventListener(`keydown`,c),t.removeEventListener(`focusin`,d),t.removeEventListener(`focusout`,f))});let l=e=>{n(U8,e)},u=e=>n(W8,e),d=o=>{let c=(0,e.unref)(r);if(!c)return;let l=o.target,u=o.relatedTarget,d=l&&c.contains(l);t.trapped||u&&c.contains(u)||(i=u),d&&n(`focusin`,o),!s.paused&&t.trapped&&(d?a=l:Z8(a,!0))},f=i=>{let c=(0,e.unref)(r);if(!(s.paused||!c))if(t.trapped){let e=i.relatedTarget;!T6(e)&&!c.contains(e)&&setTimeout(()=>{if(!s.paused&&t.trapped){let e=n5({focusReason:o.value});n(`focusout-prevented`,e),e.defaultPrevented||Z8(a,!0)}},0)}else{let e=i.target;e&&c.contains(e)||n(`focusout`,i)}};async function p(){await(0,e.nextTick)();let n=(0,e.unref)(r);if(n){$8.push(s);let r=n.contains(document.activeElement)?i:document.activeElement;if(i=r,!n.contains(r)){let i=new Event(B8,H8);n.addEventListener(B8,l),n.dispatchEvent(i),i.defaultPrevented||(0,e.nextTick)(()=>{let e=t.focusStartEl;P6(e)||(Z8(e),document.activeElement!==e&&(e=`first`)),e===`first`&&INe(Y8(n),!0),(document.activeElement===r||e===`container`)&&Z8(n)})}}}function m(){let t=(0,e.unref)(r);if(t){t.removeEventListener(B8,l);let e=new CustomEvent(V8,{...H8,detail:{focusReason:o.value}});t.addEventListener(V8,u),t.dispatchEvent(e),!e.defaultPrevented&&(o.value==`keyboard`||!LNe()||t.contains(document.activeElement))&&Z8(i??document.body),t.removeEventListener(V8,u),$8.remove(s),i=null,a=null}}return(0,e.onMounted)(()=>{t.trapped&&p(),(0,e.watch)(()=>t.trapped,e=>{e?p():m()})}),(0,e.onBeforeUnmount)(()=>{t.trapped&&m(),r.value&&=(r.value.removeEventListener(`keydown`,c),r.value.removeEventListener(`focusin`,d),r.value.removeEventListener(`focusout`,f),void 0),i=null,a=null}),{onKeydown:c}}}),o5=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};function HNe(t,n,r,i,a,o){return(0,e.renderSlot)(t.$slots,`default`,{handleKeydown:t.onKeydown})}var UNe=o5(VNe,[[`render`,HNe]]),WNe=n8({value:{type:[String,Number],default:``},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:[`primary`,`success`,`warning`,`info`,`danger`],default:`danger`},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:e8([String,Object,Array])},offset:{type:e8(Array),default:()=>[0,0]},badgeClass:{type:String}}),GNe=m8((0,e.defineComponent)({name:`ElBadge`,__name:`badge`,props:WNe,setup(t,{expose:n}){let r=t,i=A6(`badge`),a=(0,e.computed)(()=>r.isDot?``:L6(r.value)&&L6(r.max)&&r.max<r.value?`${r.max}+`:`${r.value}`),o=(0,e.computed)(()=>[{backgroundColor:r.color,marginRight:g8(-r.offset[0]),marginTop:g8(r.offset[1])},r.badgeStyle??{}]);return n({content:a}),(n,r)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)((0,e.unref)(i).b())},[(0,e.renderSlot)(n.$slots,`default`),(0,e.createVNode)(e.Transition,{name:`${(0,e.unref)(i).namespace.value}-zoom-in-center`,persisted:``},{default:(0,e.withCtx)(()=>[(0,e.withDirectives)((0,e.createElementVNode)(`sup`,{class:(0,e.normalizeClass)([(0,e.unref)(i).e(`content`),(0,e.unref)(i).em(`content`,t.type),(0,e.unref)(i).is(`fixed`,!!n.$slots.default),(0,e.unref)(i).is(`dot`,t.isDot),(0,e.unref)(i).is(`hide-zero`,!t.showZero&&t.value===0),t.badgeClass]),style:(0,e.normalizeStyle)(o.value)},[(0,e.renderSlot)(n.$slots,`content`,{value:a.value},()=>[(0,e.createTextVNode)((0,e.toDisplayString)(a.value),1)])],6),[[e.vShow,!t.hidden&&(a.value||t.isDot||n.$slots.content)]])]),_:3},8,[`name`])],2))}})),s5=n8({size:i8,disabled:{type:Boolean,default:void 0},type:{type:String,values:[`default`,`primary`,`success`,`warning`,`info`,`danger`,`text`,``],default:``},icon:{type:v8},nativeType:{type:String,values:[`button`,`submit`,`reset`],default:`button`},loading:Boolean,loadingIcon:{type:v8,default:()=>Te},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:e8([String,Object]),default:`button`}}),KNe={click:e=>e instanceof MouseEvent},c5=Symbol(`buttonGroupContextKey`),qNe=({from:t,replacement:n,scope:r,version:i,ref:a,type:o=`API`},s)=>{(0,e.watch)(()=>(0,e.unref)(s),e=>{e&&Y6(r,`[${o}] ${t} is about to be deprecated in version ${i}, please use ${n} instead.
87
+ For more detail, please visit: ${a}
88
+ `)},{immediate:!0})},JNe=(t,n)=>{qNe({from:`type.text`,replacement:`link`,version:`3.0.0`,scope:`props`,ref:`https://element-plus.org/en-US/component/button.html#button-attributes`},(0,e.computed)(()=>t.type===`text`));let r=(0,e.inject)(c5,void 0),i=c8(`button`),{form:a}=L8(),o=A8((0,e.computed)(()=>r?.size)),s=j8(),c=(0,e.ref)(),l=(0,e.useSlots)(),u=(0,e.computed)(()=>t.type||r?.type||i.value?.type||``),d=(0,e.computed)(()=>t.autoInsertSpace??i.value?.autoInsertSpace??!1),f=(0,e.computed)(()=>t.plain??i.value?.plain??!1),p=(0,e.computed)(()=>t.round??i.value?.round??!1),m=(0,e.computed)(()=>t.text??i.value?.text??!1);return{_disabled:s,_size:o,_type:u,_ref:c,_props:(0,e.computed)(()=>t.tag===`button`?{ariaDisabled:s.value||t.loading,disabled:s.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),_plain:f,_round:p,_text:m,shouldAddSpace:(0,e.computed)(()=>{let t=l.default?.call(l);if(d.value&&t?.length===1){let n=t[0];if(n?.type===e.Text){let e=n.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}),handleClick:e=>{if(s.value||t.loading){e.stopPropagation();return}t.nativeType===`reset`&&a?.resetFields(),n(`click`,e)}}};function l5(e,t){YNe(e)&&(e=`100%`);var n=XNe(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=t===360?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function u5(e){return Math.min(1,Math.max(0,e))}function YNe(e){return typeof e==`string`&&e.indexOf(`.`)!==-1&&parseFloat(e)===1}function XNe(e){return typeof e==`string`&&e.indexOf(`%`)!==-1}function d5(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function f5(e){return e<=1?`${Number(e)*100}%`:e}function p5(e){return e.length===1?`0`+e:String(e)}function ZNe(e,t,n){return{r:l5(e,255)*255,g:l5(t,255)*255,b:l5(n,255)*255}}function m5(e,t,n){e=l5(e,255),t=l5(t,255),n=l5(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=0,s=(r+i)/2;if(r===i)o=0,a=0;else{var c=r-i;switch(o=s>.5?c/(2-r-i):c/(r+i),r){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4;break;default:break}a/=6}return{h:a,s:o,l:s}}function h5(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function QNe(e,t,n){var r,i,a;if(e=l5(e,360),t=l5(t,100),n=l5(n,100),t===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=h5(s,o,e+1/3),i=h5(s,o,e),a=h5(s,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function g5(e,t,n){e=l5(e,255),t=l5(t,255),n=l5(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=r,s=r-i,c=r===0?0:s/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break;default:break}a/=6}return{h:a,s:c,v:o}}function $Ne(e,t,n){e=l5(e,360)*6,t=l5(t,100),n=l5(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6,l=[n,o,a,a,s,n][c],u=[s,n,n,o,a,a][c],d=[a,a,s,n,n,o][c];return{r:l*255,g:u*255,b:d*255}}function _5(e,t,n,r){var i=[p5(Math.round(e).toString(16)),p5(Math.round(t).toString(16)),p5(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(``)}function ePe(e,t,n,r,i){var a=[p5(Math.round(e).toString(16)),p5(Math.round(t).toString(16)),p5(Math.round(n).toString(16)),p5(tPe(r))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(``)}function tPe(e){return Math.round(parseFloat(e)*255).toString(16)}function v5(e){return y5(e)/255}function y5(e){return parseInt(e,16)}function nPe(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var b5={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,goldenrod:`#daa520`,gold:`#ffd700`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavenderblush:`#fff0f5`,lavender:`#e6e6fa`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd32`};function rPe(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;return typeof e==`string`&&(e=iPe(e)),typeof e==`object`&&(T5(e.r)&&T5(e.g)&&T5(e.b)?(t=ZNe(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)===`%`?`prgb`:`rgb`):T5(e.h)&&T5(e.s)&&T5(e.v)?(r=f5(e.s),i=f5(e.v),t=$Ne(e.h,r,i),o=!0,s=`hsv`):T5(e.h)&&T5(e.s)&&T5(e.l)&&(r=f5(e.s),a=f5(e.l),t=QNe(e.h,r,a),o=!0,s=`hsl`),Object.prototype.hasOwnProperty.call(e,`a`)&&(n=e.a)),n=d5(n),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var x5=`(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)`,S5=`[\\s|\\(]+(${x5})[,|\\s]+(${x5})[,|\\s]+(${x5})\\s*\\)?`,C5=`[\\s|\\(]+(${x5})[,|\\s]+(${x5})[,|\\s]+(${x5})[,|\\s]+(${x5})\\s*\\)?`,w5={CSS_UNIT:new RegExp(x5),rgb:RegExp(`rgb`+S5),rgba:RegExp(`rgba`+C5),hsl:RegExp(`hsl`+S5),hsla:RegExp(`hsla`+C5),hsv:RegExp(`hsv`+S5),hsva:RegExp(`hsva`+C5),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function iPe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(b5[e])e=b5[e],t=!0;else if(e===`transparent`)return{r:0,g:0,b:0,a:0,format:`name`};var n=w5.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=w5.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=w5.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=w5.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=w5.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=w5.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=w5.hex8.exec(e),n?{r:y5(n[1]),g:y5(n[2]),b:y5(n[3]),a:v5(n[4]),format:t?`name`:`hex8`}:(n=w5.hex6.exec(e),n?{r:y5(n[1]),g:y5(n[2]),b:y5(n[3]),format:t?`name`:`hex`}:(n=w5.hex4.exec(e),n?{r:y5(n[1]+n[1]),g:y5(n[2]+n[2]),b:y5(n[3]+n[3]),a:v5(n[4]+n[4]),format:t?`name`:`hex8`}:(n=w5.hex3.exec(e),n?{r:y5(n[1]+n[1]),g:y5(n[2]+n[2]),b:y5(n[3]+n[3]),format:t?`name`:`hex`}:!1)))))))))}function T5(e){return!!w5.CSS_UNIT.exec(String(e))}var aPe=function(){function e(t,n){if(t===void 0&&(t=``),n===void 0&&(n={}),t instanceof e)return t;typeof t==`number`&&(t=nPe(t)),this.originalInput=t;var r=rPe(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t,n,r,i=e.r/255,a=e.g/255,o=e.b/255;return t=i<=.03928?i/12.92:((i+.055)/1.055)**2.4,n=a<=.03928?a/12.92:((a+.055)/1.055)**2.4,r=o<=.03928?o/12.92:((o+.055)/1.055)**2.4,.2126*t+.7152*n+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=d5(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return this.toHsl().s===0},e.prototype.toHsv=function(){var e=g5(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=g5(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHsl=function(){var e=m5(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=m5(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),r=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`},e.prototype.toHex=function(e){return e===void 0&&(e=!1),_5(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return e===void 0&&(e=!1),`#`+this.toHex(e)},e.prototype.toHex8=function(e){return e===void 0&&(e=!1),ePe(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return e===void 0&&(e=!1),`#`+this.toHex8(e)},e.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`},e.prototype.toPercentageRgb=function(){var e=function(e){return`${Math.round(l5(e,255)*100)}%`};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(l5(e,255)*100)};return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`},e.prototype.toName=function(){if(this.a===0)return`transparent`;if(this.a<1)return!1;for(var e=`#`+_5(this.r,this.g,this.b,!1),t=0,n=Object.entries(b5);t<n.length;t++){var r=n[t],i=r[0];if(e===r[1])return i}return!1},e.prototype.toString=function(e){var t=!!e;e??=this.format;var n=!1,r=this.a<1&&this.a>=0;return!t&&r&&(e.startsWith(`hex`)||e===`name`)?e===`name`&&this.a===0?this.toName():this.toRgbString():(e===`rgb`&&(n=this.toRgbString()),e===`prgb`&&(n=this.toPercentageRgbString()),(e===`hex`||e===`hex6`)&&(n=this.toHexString()),e===`hex3`&&(n=this.toHexString(!0)),e===`hex4`&&(n=this.toHex8String(!0)),e===`hex8`&&(n=this.toHex8String()),e===`name`&&(n=this.toName()),e===`hsl`&&(n=this.toHslString()),e===`hsv`&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=u5(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=u5(n.l),new e(n)},e.prototype.tint=function(e){return e===void 0&&(e=10),this.mix(`white`,e)},e.prototype.shade=function(e){return e===void 0&&(e=10),this.mix(`black`,e)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=u5(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=u5(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),a=n/100;return new e({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],a=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*a)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function E5(e,t=20){return e.mix(`#141414`,t).toString()}function oPe(t){let n=j8(),r=A6(`button`);return(0,e.computed)(()=>{let e={},i=t.color;if(i){let a=i.match(/var\((.*?)\)/);a&&(i=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));let o=new aPe(i),s=t.dark?o.tint(20).toString():E5(o,20);if(t.plain)e=r.cssVarBlock({"bg-color":t.dark?E5(o,90):o.tint(90).toString(),"text-color":i,"border-color":t.dark?E5(o,50):o.tint(50).toString(),"hover-text-color":`var(${r.cssVarName(`color-white`)})`,"hover-bg-color":i,"hover-border-color":i,"active-bg-color":s,"active-text-color":`var(${r.cssVarName(`color-white`)})`,"active-border-color":s}),n.value&&(e[r.cssVarBlockName(`disabled-bg-color`)]=t.dark?E5(o,90):o.tint(90).toString(),e[r.cssVarBlockName(`disabled-text-color`)]=t.dark?E5(o,50):o.tint(50).toString(),e[r.cssVarBlockName(`disabled-border-color`)]=t.dark?E5(o,80):o.tint(80).toString());else{let a=t.dark?E5(o,30):o.tint(30).toString(),c=o.isDark()?`var(${r.cssVarName(`color-white`)})`:`var(${r.cssVarName(`color-black`)})`;if(e=r.cssVarBlock({"bg-color":i,"text-color":c,"border-color":i,"hover-bg-color":a,"hover-text-color":c,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),n.value){let n=t.dark?E5(o,50):o.tint(50).toString();e[r.cssVarBlockName(`disabled-bg-color`)]=n,e[r.cssVarBlockName(`disabled-text-color`)]=t.dark?`rgba(255, 255, 255, 0.5)`:`var(${r.cssVarName(`color-white`)})`,e[r.cssVarBlockName(`disabled-border-color`)]=n}}}return e})}var sPe=(0,e.defineComponent)({name:`ElButton`,__name:`button`,props:s5,emits:KNe,setup(t,{expose:n,emit:r}){let i=t,a=r,o=oPe(i),s=A6(`button`),{_ref:c,_size:l,_type:u,_disabled:d,_props:f,_plain:p,_round:m,_text:h,shouldAddSpace:g,handleClick:_}=JNe(i,a),v=(0,e.computed)(()=>[s.b(),s.m(u.value),s.m(l.value),s.is(`disabled`,d.value),s.is(`loading`,i.loading),s.is(`plain`,p.value),s.is(`round`,m.value),s.is(`circle`,i.circle),s.is(`text`,h.value),s.is(`link`,i.link),s.is(`has-bg`,i.bg)]);return n({ref:c,size:l,type:u,disabled:d,shouldAddSpace:g}),(n,r)=>((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.tag),(0,e.mergeProps)({ref_key:`_ref`,ref:c},(0,e.unref)(f),{class:v.value,style:(0,e.unref)(o),onClick:(0,e.unref)(_)}),{default:(0,e.withCtx)(()=>[t.loading?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:0},[n.$slots.loading?(0,e.renderSlot)(n.$slots,`loading`,{key:0}):((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:1,class:(0,e.normalizeClass)((0,e.unref)(s).is(`loading`))},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.loadingIcon)))]),_:1},8,[`class`]))],64)):t.icon||n.$slots.icon?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:1},{default:(0,e.withCtx)(()=>[t.icon?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.icon),{key:0})):(0,e.renderSlot)(n.$slots,`icon`,{key:1})]),_:3})):(0,e.createCommentVNode)(`v-if`,!0),n.$slots.default?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:2,class:(0,e.normalizeClass)({[(0,e.unref)(s).em(`text`,`expand`)]:(0,e.unref)(g)})},[(0,e.renderSlot)(n.$slots,`default`)],2)):(0,e.createCommentVNode)(`v-if`,!0)]),_:3},16,[`class`,`style`,`onClick`]))}}),cPe={size:s5.size,type:s5.type,direction:{type:e8(String),values:[`horizontal`,`vertical`],default:`horizontal`}},D5=(0,e.defineComponent)({name:`ElButtonGroup`,__name:`button-group`,props:cPe,setup(t){let n=t;(0,e.provide)(c5,(0,e.reactive)({size:(0,e.toRef)(n,`size`),type:(0,e.toRef)(n,`type`)}));let r=A6(`button`);return(t,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([(0,e.unref)(r).b(`group`),(0,e.unref)(r).bm(`group`,n.direction)])},[(0,e.renderSlot)(t.$slots,`default`)],2))}}),lPe=m8(sPe,{ButtonGroup:D5});YMe(D5);var uPe=n8({a11y:{type:Boolean,default:!0},locale:{type:e8(Object)},size:i8,button:{type:e8(Object)},card:{type:e8(Object)},dialog:{type:e8(Object)},link:{type:e8(Object)},experimentalFeatures:{type:e8(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:e8(Object)},zIndex:Number,namespace:{type:String,default:`el`},...KMe}),O5={placement:`top`};(0,e.defineComponent)({name:`ElConfigProvider`,props:uPe,setup(t,{slots:n}){let r=u8(t);return(0,e.watch)(()=>t.message,e=>{Object.assign(O5,r?.value?.message??{},e??{})},{immediate:!0,deep:!0}),()=>(0,e.renderSlot)(n,`default`,{config:r?.value})}});var k5=e=>{if(!e)return{onClick:j6,onMousedown:j6,onMouseup:j6};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{n=e.target===e.currentTarget}}},dPe=n8({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:e8([String,Array,Object])},zIndex:{type:e8([String,Number])}}),fPe={click:e=>e instanceof MouseEvent},pPe=`overlay`,mPe=(0,e.defineComponent)({name:`ElOverlay`,props:dPe,emits:fPe,setup(t,{slots:n,emit:r}){let i=A6(pPe),{onClick:a,onMousedown:o,onMouseup:s}=k5(t.customMaskEvent?void 0:e=>{r(`click`,e)});return()=>t.mask?(0,e.createVNode)(`div`,{class:[i.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:a,onMousedown:o,onMouseup:s},[(0,e.renderSlot)(n,`default`)],S8.STYLE|S8.CLASS|S8.PROPS,[`onClick`,`onMouseup`,`onMousedown`]):(0,e.h)(`div`,{class:t.overlayClass,style:{zIndex:t.zIndex,position:`fixed`,top:`0px`,right:`0px`,bottom:`0px`,left:`0px`}},[(0,e.renderSlot)(n,`default`)])}}),hPe=(t,n,r,i)=>{let a={offsetX:0,offsetY:0},o=(0,e.ref)(!1),s=(e,n)=>{if(t.value){let{offsetX:r,offsetY:o}=a,s=t.value.getBoundingClientRect(),c=s.left,l=s.top,u=s.width,d=s.height,f=document.documentElement.clientWidth,p=document.documentElement.clientHeight,m=-c+r,h=-l+o,g=f-c-u+r,_=p-l-(d<p?d:0)+o;i?.value||(e=Math.min(Math.max(e,m),g),n=Math.min(Math.max(n,h),_)),a.offsetX=e,a.offsetY=n,t.value.style.transform=`translate(${g8(e)}, ${g8(n)})`}},c=e=>{let t=e.clientX,n=e.clientY,{offsetX:r,offsetY:i}=a,c=e=>{o.value||=!0,s(r+e.clientX-t,i+e.clientY-n)},l=()=>{o.value=!1,document.removeEventListener(`mousemove`,c),document.removeEventListener(`mouseup`,l)};document.addEventListener(`mousemove`,c),document.addEventListener(`mouseup`,l)},l=()=>{n.value&&t.value&&(n.value.addEventListener(`mousedown`,c),window.addEventListener(`resize`,f))},u=()=>{n.value&&t.value&&(n.value.removeEventListener(`mousedown`,c),window.removeEventListener(`resize`,f))},d=()=>{a.offsetX=0,a.offsetY=0,t.value&&(t.value.style.transform=``)},f=()=>{let{offsetX:e,offsetY:t}=a;s(e,t)};return(0,e.onMounted)(()=>{(0,e.watchEffect)(()=>{r.value?l():u()})}),(0,e.onBeforeUnmount)(()=>{u()}),{isDragging:o,resetPosition:d,updatePosition:f}},gPe=(t,n={})=>{(0,e.isRef)(t)||zMe(`[useLockscreen]`,`You need to pass a ref param to this function`);let r=n.ns||A6(`popup`),i=(0,e.computed)(()=>r.bm(`parent`,`hidden`)),a=0,o=!1,s=`0`,c=!1,l=()=>{c||(c=!0,setTimeout(()=>{typeof document>`u`||o&&document&&(document.body.style.width=s,$Me(document.body,i.value))},200))};(0,e.watch)(t,e=>{if(!e){l();return}c=!1,o=!ZMe(document.body,i.value),o&&(s=document.body.style.width,QMe(document.body,i.value)),a=tNe(r.namespace.value);let t=document.documentElement.clientHeight<document.body.scrollHeight,n=eNe(document.body,`overflowY`);a>0&&(t||n===`scroll`)&&o&&(document.body.style.width=`calc(100% - ${a}px)`)}),(0,e.onScopeDispose)(()=>l())},_Pe=e=>[``,...r8].includes(e),A5=[`primary`,`success`,`info`,`warning`,`error`],j5=[`top`,`top-left`,`top-right`,`bottom`,`bottom-left`,`bottom-right`],M5=C8({customClass:``,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:``,message:``,onClose:void 0,showClose:!1,type:`info`,plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:H6?document.body:void 0}),vPe=n8({customClass:{type:String,default:M5.customClass},dangerouslyUseHTMLString:{type:Boolean,default:M5.dangerouslyUseHTMLString},duration:{type:Number,default:M5.duration},icon:{type:v8,default:M5.icon},id:{type:String,default:M5.id},message:{type:e8([String,Object,Function]),default:M5.message},onClose:{type:e8(Function),default:M5.onClose},showClose:{type:Boolean,default:M5.showClose},type:{type:String,values:A5,default:M5.type},plain:{type:Boolean,default:M5.plain},offset:{type:Number,default:M5.offset},placement:{type:String,values:j5,default:M5.placement},zIndex:{type:Number,default:M5.zIndex},grouping:{type:Boolean,default:M5.grouping},repeatNum:{type:Number,default:M5.repeatNum}}),yPe={destroy:()=>!0},N5=(0,e.shallowReactive)({}),bPe=t=>(N5[t]||(N5[t]=(0,e.shallowReactive)([])),N5[t]),xPe=(e,t)=>{let n=N5[t]||[],r=n.findIndex(t=>t.id===e),i=n[r],a;return r>0&&(a=n[r-1]),{current:i,prev:a}},SPe=(e,t)=>{let{prev:n}=xPe(e,t);return n?n.vm.exposed.bottom.value:0},CPe=(e,t,n)=>(N5[n]||[]).findIndex(t=>t.id===e)>0?16:t,wPe=[`id`],TPe=[`innerHTML`],EPe=(0,e.defineComponent)({name:`ElMessage`,__name:`message`,props:vPe,emits:yPe,setup(t,{expose:n,emit:r}){let{Close:i}=y8,a=t,o=r,s=(0,e.ref)(!1),{ns:c,zIndex:l}=l8(`message`),{currentZIndex:u,nextZIndex:d}=l,f=(0,e.ref)(),p=(0,e.ref)(!1),m=(0,e.ref)(0),h,g=(0,e.computed)(()=>a.type?a.type===`error`?`danger`:a.type:`info`),_=(0,e.computed)(()=>{let e=a.type;return{[c.bm(`icon`,e)]:e&&b8[e]}}),v=(0,e.computed)(()=>a.icon||b8[a.type]||``),y=(0,e.computed)(()=>a.placement||`top`),b=(0,e.computed)(()=>SPe(a.id,y.value)),x=(0,e.computed)(()=>CPe(a.id,a.offset,y.value)+b.value),S=(0,e.computed)(()=>m.value+x.value),C=(0,e.computed)(()=>y.value.includes(`left`)?c.is(`left`):y.value.includes(`right`)?c.is(`right`):c.is(`center`)),w=(0,e.computed)(()=>y.value.startsWith(`top`)?`top`:`bottom`),T=(0,e.computed)(()=>({[w.value]:`${x.value}px`,zIndex:u.value}));function E(){a.duration!==0&&({stop:h}=NMe(()=>{O()},a.duration))}function D(){h?.()}function O(){p.value=!1,(0,e.nextTick)(()=>{var e;s.value||((e=a.onClose)==null||e.call(a),o(`destroy`))})}function ee(e){r5(e)===z8.esc&&O()}return(0,e.onMounted)(()=>{E(),d(),p.value=!0}),(0,e.watch)(()=>a.repeatNum,()=>{D(),E()}),K6(document,`keydown`,ee),q6(f,()=>{m.value=f.value.getBoundingClientRect().height}),n({visible:p,bottom:S,close:O}),(n,r)=>((0,e.openBlock)(),(0,e.createBlock)(e.Transition,{name:(0,e.unref)(c).b(`fade`),onBeforeEnter:r[0]||=e=>s.value=!0,onBeforeLeave:t.onClose,onAfterLeave:r[1]||=e=>n.$emit(`destroy`),persisted:``},{default:(0,e.withCtx)(()=>[(0,e.withDirectives)((0,e.createElementVNode)(`div`,{id:t.id,ref_key:`messageRef`,ref:f,class:(0,e.normalizeClass)([(0,e.unref)(c).b(),{[(0,e.unref)(c).m(t.type)]:t.type},(0,e.unref)(c).is(`closable`,t.showClose),(0,e.unref)(c).is(`plain`,t.plain),(0,e.unref)(c).is(`bottom`,w.value===`bottom`),C.value,t.customClass]),style:(0,e.normalizeStyle)(T.value),role:`alert`,onMouseenter:D,onMouseleave:E},[t.repeatNum>1?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(GNe),{key:0,value:t.repeatNum,type:g.value,class:(0,e.normalizeClass)((0,e.unref)(c).e(`badge`))},null,8,[`value`,`type`,`class`])):(0,e.createCommentVNode)(`v-if`,!0),v.value?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:1,class:(0,e.normalizeClass)([(0,e.unref)(c).e(`icon`),_.value])},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(v.value)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.renderSlot)(n.$slots,`default`,{},()=>[t.dangerouslyUseHTMLString?((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:1},[(0,e.createCommentVNode)(` Caution here, message could've been compromised, never use user's input as message `),(0,e.createElementVNode)(`p`,{class:(0,e.normalizeClass)((0,e.unref)(c).e(`content`)),innerHTML:t.message},null,10,TPe)],2112)):((0,e.openBlock)(),(0,e.createElementBlock)(`p`,{key:0,class:(0,e.normalizeClass)((0,e.unref)(c).e(`content`))},(0,e.toDisplayString)(t.message),3))]),t.showClose?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(x8),{key:2,class:(0,e.normalizeClass)((0,e.unref)(c).e(`closeBtn`)),onClick:(0,e.withModifiers)(O,[`stop`])},{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(i))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0)],46,wPe),[[e.vShow,p.value]])]),_:3},8,[`name`,`onBeforeLeave`]))}}),DPe=1,OPe=e=>{if(!e.appendTo)e.appendTo=document.body;else if(P6(e.appendTo)){let t=document.querySelector(e.appendTo);R6(t)||(Y6(`ElMessage`,`the appendTo option is not an HTMLElement. Falling back to document.body.`),t=document.body),e.appendTo=t}},kPe=e=>{!e.placement&&P6(O5.placement)&&O5.placement&&(e.placement=O5.placement),e.placement||=`top`,j5.includes(e.placement)||(Y6(`ElMessage`,`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement=`top`)},P5=t=>{let n=!t||P6(t)||(0,e.isVNode)(t)||N6(t)?{message:t}:t,r={...M5,...n};return OPe(r),kPe(r),I6(O5.grouping)&&!r.grouping&&(r.grouping=O5.grouping),L6(O5.duration)&&r.duration===3e3&&(r.duration=O5.duration),L6(O5.offset)&&r.offset===16&&(r.offset=O5.offset),I6(O5.showClose)&&!r.showClose&&(r.showClose=O5.showClose),I6(O5.plain)&&!r.plain&&(r.plain=O5.plain),r},APe=e=>{let t=N5[e.props.placement||`top`],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);let{handler:r}=e;r.close()},jPe=({appendTo:t,...n},r)=>{let i=`message_${DPe++}`,a=n.onClose,o=document.createElement(`div`),s={...n,id:i,onClose:()=>{a?.(),APe(u)},onDestroy:()=>{(0,e.render)(null,o)}},c=(0,e.createVNode)(EPe,s,N6(s.message)||(0,e.isVNode)(s.message)?{default:N6(s.message)?s.message:()=>s.message}:null);c.appContext=r||F5._context,(0,e.render)(c,o),t.appendChild(o.firstElementChild);let l=c.component,u={id:i,vnode:c,vm:l,handler:{close:()=>{l.exposed.close()}},props:c.component.props};return u},F5=(e={},t)=>{if(!H6)return{close:()=>void 0};let n=P5(e),r=bPe(n.placement||`top`);if(n.grouping&&r.length){let e=r.find(({vnode:e})=>e.props?.message===n.message);if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}if(L6(O5.max)&&r.length>=O5.max)return{close:()=>void 0};let i=jPe(n,t);return r.push(i),i.handler};A5.forEach(e=>{F5[e]=(t={},n)=>F5({...P5(t),type:e},n)});function MPe(e){for(let t in N5)if(M6(N5,t)){let n=[...N5[t]];for(let t of n)(!e||e===t.props.type)&&t.handler.close()}}function NPe(e){N5[e]&&[...N5[e]].forEach(e=>e.handler.close())}F5.closeAll=MPe,F5.closeAllByPlacement=NPe,F5._context=null;var PPe=JMe(F5,`$message`),I5=`_trap-focus-children`,L5=[],R5=e=>{var t;if(L5.length===0)return;let n=r5(e),r=L5[L5.length-1][I5];if(r.length>0&&n===z8.tab){if(r.length===1){e.preventDefault(),document.activeElement!==r[0]&&r[0].focus();return}let n=e.shiftKey,i=e.target===r[0],a=e.target===r[r.length-1];if(i&&n&&(e.preventDefault(),r[r.length-1].focus()),a&&!n&&(e.preventDefault(),r[0].focus()),process.env.NODE_ENV===`test`){let i=r.indexOf(e.target);i!==-1&&((t=r[n?i-1:i+1])==null||t.focus())}}},FPe=(0,e.defineComponent)({name:`ElMessageBox`,directives:{TrapFocus:{beforeMount(e){e[I5]=N8(e),L5.push(e),L5.length<=1&&document.addEventListener(`keydown`,R5)},updated(t){(0,e.nextTick)(()=>{t[I5]=N8(t)})},unmounted(){L5.shift(),L5.length===0&&document.removeEventListener(`keydown`,R5)}}},components:{ElButton:lPe,ElFocusTrap:UNe,ElInput:ONe,ElOverlay:mPe,ElIcon:x8,...y8},inheritAttrs:!1,props:{buttonSize:{type:String,validator:_Pe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:`body`},boxType:{type:String,default:``}},emits:[`vanish`,`action`],setup(t,{emit:n}){let{locale:r,zIndex:i,ns:a,size:o}=l8(`message-box`,(0,e.computed)(()=>t.buttonSize)),{t:s}=r,{nextZIndex:c}=i,l=(0,e.ref)(!1),u=(0,e.reactive)({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:``,cancelButtonClass:``,confirmButtonText:``,confirmButtonClass:``,cancelButtonType:``,confirmButtonType:`primary`,customClass:``,customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:``,closeIcon:``,inputPattern:null,inputPlaceholder:``,inputType:`text`,inputValue:``,inputValidator:void 0,inputErrorMessage:``,message:``,modalFade:!0,modalClass:``,showCancelButton:!1,showConfirmButton:!0,type:``,title:void 0,showInput:!1,action:``,confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:(0,e.markRaw)(Te),cancelButtonLoadingIcon:(0,e.markRaw)(Te),confirmButtonDisabled:!1,editorErrorMessage:``,validateError:!1,zIndex:c()}),d=(0,e.computed)(()=>{let e=u.type;return{[a.bm(`icon`,e)]:e&&b8[e]}}),f=I8(),p=I8(),m=(0,e.computed)(()=>{let e=u.type;return u.icon||e&&b8[e]||``}),h=(0,e.computed)(()=>!!u.message),g=(0,e.ref)(),_=(0,e.ref)(),v=(0,e.ref)(),y=(0,e.ref)(),b=(0,e.ref)(),x=(0,e.computed)(()=>u.confirmButtonClass);(0,e.watch)(()=>u.inputValue,async n=>{await(0,e.nextTick)(),t.boxType===`prompt`&&n&&O()},{immediate:!0}),(0,e.watch)(()=>l.value,n=>{n&&(t.boxType!==`prompt`&&(u.autofocus?v.value=b.value?.$el??g.value:v.value=g.value),u.zIndex=c()),t.boxType===`prompt`&&(n?(0,e.nextTick)().then(()=>{y.value&&y.value.$el&&(u.autofocus?v.value=ee()??g.value:v.value=g.value)}):(u.editorErrorMessage=``,u.validateError=!1))});let{isDragging:S}=hPe(g,_,(0,e.computed)(()=>t.draggable),(0,e.computed)(()=>t.overflow));(0,e.onMounted)(async()=>{await(0,e.nextTick)(),t.closeOnHashChange&&window.addEventListener(`hashchange`,C)}),(0,e.onBeforeUnmount)(()=>{t.closeOnHashChange&&window.removeEventListener(`hashchange`,C)});function C(){l.value&&(l.value=!1,(0,e.nextTick)(()=>{u.action&&n(`action`,u.action)}))}let w=()=>{t.closeOnClickModal&&D(u.distinguishCancelAndClose?`close`:`cancel`)},T=k5(w),E=e=>{if(u.inputType!==`textarea`&&!y.value?.isComposing)return e.preventDefault(),D(`confirm`)},D=e=>{var n;t.boxType===`prompt`&&e===`confirm`&&!O()||(u.action=e,u.beforeClose?(n=u.beforeClose)==null||n.call(u,e,u,C):C())},O=()=>{if(t.boxType===`prompt`){let e=u.inputPattern;if(e&&!e.test(u.inputValue||``))return u.editorErrorMessage=u.inputErrorMessage||s(`el.messagebox.error`),u.validateError=!0,!1;let t=u.inputValidator;if(N6(t)){let e=t(u.inputValue);if(e===!1)return u.editorErrorMessage=u.inputErrorMessage||s(`el.messagebox.error`),u.validateError=!0,!1;if(P6(e))return u.editorErrorMessage=e,u.validateError=!0,!1}}return u.editorErrorMessage=``,u.validateError=!1,!0},ee=()=>{let e=y.value?.$refs;return e?.input??e?.textarea},k=()=>{D(`close`)},te=()=>{t.closeOnPressEscape&&k()};return t.lockScroll&&gPe(l,{ns:a}),{...(0,e.toRefs)(u),ns:a,overlayEvent:T,visible:l,hasMessage:h,typeClass:d,contentId:f,inputId:p,btnSize:o,iconComponent:m,confirmButtonClasses:x,rootRef:g,focusStartRef:v,headerRef:_,inputRef:y,isDragging:S,confirmRef:b,doClose:C,handleClose:k,onCloseRequested:te,handleWrapperClick:w,handleInputEnter:E,handleAction:D,t:s}}}),IPe=[`aria-label`,`aria-describedby`],LPe=[`aria-label`],RPe=[`id`];function zPe(t,n,r,i,a,o){let s=(0,e.resolveComponent)(`el-icon`),c=(0,e.resolveComponent)(`el-input`),l=(0,e.resolveComponent)(`el-button`),u=(0,e.resolveComponent)(`el-focus-trap`),d=(0,e.resolveComponent)(`el-overlay`);return(0,e.openBlock)(),(0,e.createBlock)(e.Transition,{name:`fade-in-linear`,onAfterLeave:n[11]||=e=>t.$emit(`vanish`),persisted:``},{default:(0,e.withCtx)(()=>[(0,e.withDirectives)((0,e.createVNode)(d,{"z-index":t.zIndex,"overlay-class":[t.ns.is(`message-box`),t.modalClass],mask:t.modal},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,{role:`dialog`,"aria-label":t.title,"aria-modal":`true`,"aria-describedby":t.showInput?void 0:t.contentId,class:(0,e.normalizeClass)(`${t.ns.namespace.value}-overlay-message-box`),onClick:n[8]||=(...e)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...e),onMousedown:n[9]||=(...e)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...e),onMouseup:n[10]||=(...e)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...e)},[(0,e.createVNode)(u,{loop:``,trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,{ref:`rootRef`,class:(0,e.normalizeClass)([t.ns.b(),t.customClass,t.ns.is(`draggable`,t.draggable),t.ns.is(`dragging`,t.isDragging),{[t.ns.m(`center`)]:t.center}]),style:(0,e.normalizeStyle)(t.customStyle),tabindex:`-1`,onClick:n[7]||=(0,e.withModifiers)(()=>{},[`stop`])},[t.title!==null&&t.title!==void 0?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,ref:`headerRef`,class:(0,e.normalizeClass)([t.ns.e(`header`),{"show-close":t.showClose}])},[(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(t.ns.e(`title`))},[t.iconComponent&&t.center?((0,e.openBlock)(),(0,e.createBlock)(s,{key:0,class:(0,e.normalizeClass)([t.ns.e(`status`),t.typeClass])},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.iconComponent)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.title),1)],2),t.showClose?((0,e.openBlock)(),(0,e.createElementBlock)(`button`,{key:0,type:`button`,class:(0,e.normalizeClass)(t.ns.e(`headerbtn`)),"aria-label":t.t(`el.messagebox.close`),onClick:n[0]||=e=>t.handleAction(t.distinguishCancelAndClose?`close`:`cancel`),onKeydown:n[1]||=(0,e.withKeys)((0,e.withModifiers)(e=>t.handleAction(t.distinguishCancelAndClose?`close`:`cancel`),[`prevent`]),[`enter`])},[(0,e.createVNode)(s,{class:(0,e.normalizeClass)(t.ns.e(`close`))},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.closeIcon||`close`)))]),_:1},8,[`class`])],42,LPe)):(0,e.createCommentVNode)(`v-if`,!0)],2)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createElementVNode)(`div`,{id:t.contentId,class:(0,e.normalizeClass)(t.ns.e(`content`))},[(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(t.ns.e(`container`))},[t.iconComponent&&!t.center&&t.hasMessage?((0,e.openBlock)(),(0,e.createBlock)(s,{key:0,class:(0,e.normalizeClass)([t.ns.e(`status`),t.typeClass])},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.iconComponent)))]),_:1},8,[`class`])):(0,e.createCommentVNode)(`v-if`,!0),t.hasMessage?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:1,class:(0,e.normalizeClass)(t.ns.e(`message`))},[(0,e.renderSlot)(t.$slots,`default`,{},()=>[t.dangerouslyUseHTMLString?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.showInput?`label`:`p`),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,[`for`,`innerHTML`])):((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.showInput?`label`:`p`),{key:0,for:t.showInput?t.inputId:void 0,textContent:(0,e.toDisplayString)(t.message)},null,8,[`for`,`textContent`]))])],2)):(0,e.createCommentVNode)(`v-if`,!0)],2),(0,e.withDirectives)((0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(t.ns.e(`input`))},[(0,e.createVNode)(c,{id:t.inputId,ref:`inputRef`,modelValue:t.inputValue,"onUpdate:modelValue":n[2]||=e=>t.inputValue=e,type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:(0,e.normalizeClass)({invalid:t.validateError}),onKeydown:(0,e.withKeys)(t.handleInputEnter,[`enter`])},null,8,[`id`,`modelValue`,`type`,`placeholder`,`aria-invalid`,`class`,`onKeydown`]),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(t.ns.e(`errormsg`)),style:(0,e.normalizeStyle)({visibility:t.editorErrorMessage?`visible`:`hidden`})},(0,e.toDisplayString)(t.editorErrorMessage),7)],2),[[e.vShow,t.showInput]])],10,RPe),(0,e.createElementVNode)(`div`,{class:(0,e.normalizeClass)(t.ns.e(`btns`))},[t.showCancelButton?((0,e.openBlock)(),(0,e.createBlock)(l,{key:0,type:t.cancelButtonType===`text`?``:t.cancelButtonType,text:t.cancelButtonType===`text`,loading:t.cancelButtonLoading,"loading-icon":t.cancelButtonLoadingIcon,class:(0,e.normalizeClass)([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:n[3]||=e=>t.handleAction(`cancel`),onKeydown:n[4]||=(0,e.withKeys)((0,e.withModifiers)(e=>t.handleAction(`cancel`),[`prevent`]),[`enter`])},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t.cancelButtonText||t.t(`el.messagebox.cancel`)),1)]),_:1},8,[`type`,`text`,`loading`,`loading-icon`,`class`,`round`,`size`])):(0,e.createCommentVNode)(`v-if`,!0),(0,e.withDirectives)((0,e.createVNode)(l,{ref:`confirmRef`,type:t.confirmButtonType===`text`?``:t.confirmButtonType,text:t.confirmButtonType===`text`,loading:t.confirmButtonLoading,"loading-icon":t.confirmButtonLoadingIcon,class:(0,e.normalizeClass)([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:n[5]||=e=>t.handleAction(`confirm`),onKeydown:n[6]||=(0,e.withKeys)((0,e.withModifiers)(e=>t.handleAction(`confirm`),[`prevent`]),[`enter`])},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)(t.confirmButtonText||t.t(`el.messagebox.confirm`)),1)]),_:1},8,[`type`,`text`,`loading`,`loading-icon`,`class`,`round`,`disabled`,`size`]),[[e.vShow,t.showConfirmButton]])],2)],6)]),_:3},8,[`trapped`,`focus-trap-el`,`focus-start-el`,`onReleaseRequested`])],42,IPe)]),_:3},8,[`z-index`,`overlay-class`,`mask`]),[[e.vShow,t.visible]])]),_:3})}var BPe=o5(FPe,[[`render`,zPe]]),z5=new Map,VPe=e=>{let t=document.body;return e.appendTo&&(P6(e.appendTo)&&(t=document.querySelector(e.appendTo)),R6(e.appendTo)&&(t=e.appendTo),R6(t)||(Y6(`ElMessageBox`,`the appendTo option is not an HTMLElement. Falling back to document.body.`),t=document.body)),t},HPe=(t,n,r=null)=>{let i=(0,e.createVNode)(BPe,t,N6(t.message)||(0,e.isVNode)(t.message)?{default:N6(t.message)?t.message:()=>t.message}:null);return i.appContext=r,(0,e.render)(i,n),VPe(t).appendChild(n.firstElementChild),i.component},UPe=()=>document.createElement(`div`),WPe=(t,n)=>{let r=UPe();t.onVanish=()=>{(0,e.render)(null,r),z5.delete(a)},t.onAction=e=>{let n=z5.get(a),r;r=t.showInput?{value:a.inputValue,action:e}:e,t.callback?t.callback(r,i.proxy):e===`cancel`||e===`close`?t.distinguishCancelAndClose&&e!==`cancel`?n.reject(`close`):n.reject(`cancel`):n.resolve(r)};let i=HPe(t,r,n),a=i.proxy;for(let n in t)M6(t,n)&&!M6(a.$props,n)&&(n===`closeIcon`&&F6(t[n])?a[n]=(0,e.markRaw)(t[n]):a[n]=t[n]);return a.visible=!0,a};function B5(t,n=null){if(!H6)return Promise.reject();let r;return P6(t)||(0,e.isVNode)(t)?t={message:t}:r=t.callback,new Promise((e,i)=>{let a=WPe(t,n??B5._context);z5.set(a,{options:t,callback:r,resolve:e,reject:i})})}var GPe=[`alert`,`confirm`,`prompt`],KPe={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};GPe.forEach(e=>{B5[e]=qPe(e)});function qPe(e){return(t,n,r,i)=>{let a=``;return F6(n)?(r=n,a=``):a=wMe(n)?``:n,B5(Object.assign({title:a,message:t,type:``,...KPe[e]},r,{boxType:e}),i)}}B5.close=()=>{z5.forEach((e,t)=>{t.doClose()}),z5.clear()},B5._context=null;var V5=B5;V5.install=e=>{V5._context=e._context,e.config.globalProperties.$msgbox=V5,e.config.globalProperties.$messageBox=V5,e.config.globalProperties.$alert=V5.alert,e.config.globalProperties.$confirm=V5.confirm,e.config.globalProperties.$prompt=V5.prompt};var JPe=V5,YPe=[`src`],XPe=(0,e.defineComponent)({__name:`index`,props:(0,e.mergeModels)({action:{type:String,default:``},folder:{type:String,default:``},size:{type:Number,default:178},radius:{type:Number,default:6},headers:{type:String,token:``}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n=(0,e.useModel)(t,`modelValue`),r=e=>{n.value=e.data.url},i=e=>e.size/1024/1024>2?(PPe.error(`Avatar picture size can not exceed 2MB!`),!1):!0;return(a,o)=>{let s=(0,e.resolveComponent)(`el-icon`),c=(0,e.resolveComponent)(`el-upload`);return(0,e.openBlock)(),(0,e.createBlock)(c,{class:`oga-avatar`,action:t.action,style:(0,e.normalizeStyle)({"--size":t.size,"--radius":t.radius}),"show-file-list":!1,accept:`image/*`,"on-success":r,"before-upload":i},{default:(0,e.withCtx)(()=>[n.value?((0,e.openBlock)(),(0,e.createElementBlock)(`img`,{key:0,src:n.value,class:`oga-avatar-img`,alt:``},null,8,YPe)):(0,e.createCommentVNode)(`v-if`,!0),(0,e.createVNode)(s,{class:(0,e.normalizeClass)([`oga-avatar-icon`,(0,e.unref)(O)(n.value)?`is-empty`:``])},{default:(0,e.withCtx)(()=>[(0,e.createVNode)((0,e.unref)(Ee))]),_:1},8,[`class`])]),_:1},8,[`action`,`style`])}}}),ZPe={install(e){e.component(`OgaAvatar`,XPe)}},QPe={class:`oga-table`},$Pe={class:`oga-table-content`},eFe=m((0,e.defineComponent)({__name:`index`,props:{modelValue:{},modelModifiers:{}},emits:(0,e.mergeModels)([`paging`],[`update:modelValue`]),setup(t,{emit:n}){let r=(0,e.useModel)(t,`modelValue`),i=n,a=e=>{r.value.current=e,i(`paging`,!1)},o=e=>{r.value.size=e,i(`paging`,!1)};return(t,n)=>{let i=(0,e.resolveComponent)(`el-col`),s=(0,e.resolveComponent)(`el-row`),c=(0,e.resolveComponent)(`el-pagination`),l=(0,e.resolveDirective)(`loading`);return(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createElementBlock)(`div`,QPe,[(0,e.createElementVNode)(`div`,$Pe,[(0,e.createVNode)(s,{class:`oga-table-row`,style:(0,e.normalizeStyle)({"--span":r.value.gutter??20}),gutter:r.value.gutter??20},{default:(0,e.withCtx)(()=>[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(r.value.records,n=>((0,e.openBlock)(),(0,e.createBlock)(i,{class:`oga-table-col`,span:r.value.span??12},{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(t.$slots,`default`,{item:n},void 0,!0)]),_:2},1032,[`span`]))),256))]),_:3},8,[`style`,`gutter`])]),r.value.total>r.value.size?((0,e.openBlock)(),(0,e.createBlock)(c,{key:0,"current-page":r.value.current,"page-size":r.value.size,layout:r.value.pageLayout,"page-sizes":r.value.pageSizes,total:r.value.total,onCurrentChange:a,onSizeChange:o},null,8,[`current-page`,`page-size`,`layout`,`page-sizes`,`total`])):(0,e.createCommentVNode)(`v-if`,!0)])),[[l,r.value.loading]])}}}),[[`__scopeId`,`data-v-d877ce81`]]),tFe={install(e){e.component(`OgaPaging`,eFe)}},nFe=Object.defineProperty,H5=Object.getOwnPropertySymbols,U5=Object.prototype.hasOwnProperty,W5=Object.prototype.propertyIsEnumerable,G5=(e,t,n)=>t in e?nFe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K5=(e,t)=>{for(var n in t||={})U5.call(t,n)&&G5(e,n,t[n]);if(H5)for(var n of H5(t))W5.call(t,n)&&G5(e,n,t[n]);return e},q5=(e,t)=>{var n={};for(var r in e)U5.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&H5)for(var r of H5(e))t.indexOf(r)<0&&W5.call(e,r)&&(n[r]=e[r]);return n},J5=`[vue-draggable-plus]: `;function rFe(e){console.warn(J5+e)}function iFe(e){console.error(J5+e)}function Y5(e,t,n){return n>=0&&n<e.length&&e.splice(n,0,e.splice(t,1)[0]),e}function aFe(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function oFe(e){return Object.keys(e).reduce((t,n)=>(e[n]!==void 0&&(t[aFe(n)]=e[n]),t),{})}function X5(e,t){return Array.isArray(e)&&e.splice(t,1),e}function Z5(e,t,n){return Array.isArray(e)&&e.splice(t,0,n),e}function sFe(e){return e===void 0}function cFe(e){return typeof e==`string`}function Q5(e,t,n){let r=e.children[n];e.insertBefore(t,r)}function $5(e){e.parentNode&&e.parentNode.removeChild(e)}function lFe(e,t=document){let n=null;return n=typeof t?.querySelector==`function`?(t?.querySelector)?.call(t,e):document.querySelector(e),n||rFe(`Element not found: ${e}`),n}function uFe(e,t,n=null){return function(...r){return e.apply(n,r),t.apply(n,r)}}function dFe(e,t){let n=K5({},e);return Object.keys(t).forEach(r=>{n[r]?n[r]=uFe(e[r],t[r]):n[r]=t[r]}),n}function fFe(e){return e instanceof HTMLElement}function e7(e,t){Object.keys(e).forEach(n=>{t(n,e[n])})}function pFe(e){return e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97)}var mFe=Object.assign;function t7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?t7(Object(n),!0).forEach(function(t){hFe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t7(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function r7(e){"@babel/helpers - typeof";return r7=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r7(e)}function hFe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i7(){return i7=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i7.apply(this,arguments)}function gFe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function _Fe(e,t){if(e==null)return{};var n=gFe(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var vFe=`1.15.2`;function a7(e){if(typeof window<`u`&&window.navigator)return!!navigator.userAgent.match(e)}var o7=a7(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),s7=a7(/Edge/i),c7=a7(/firefox/i),l7=a7(/safari/i)&&!a7(/chrome/i)&&!a7(/android/i),u7=a7(/iP(ad|od|hone)/i),d7=a7(/chrome/i)&&a7(/android/i),f7={capture:!1,passive:!1};function p7(e,t,n){e.addEventListener(t,n,!o7&&f7)}function m7(e,t,n){e.removeEventListener(t,n,!o7&&f7)}function h7(e,t){if(t){if(t[0]===`>`&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function yFe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function g7(e,t,n,r){if(e){n||=document;do{if(t!=null&&(t[0]===`>`?e.parentNode===n&&h7(e,t):h7(e,t))||r&&e===n)return e;if(e===n)break}while(e=yFe(e))}return null}var _7=/\s+/g;function v7(e,t,n){e&&t&&(e.classList?e.classList[n?`add`:`remove`](t):e.className=((` `+e.className+` `).replace(_7,` `).replace(` `+t+` `,` `)+(n?` `+t:``)).replace(_7,` `))}function Z(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,``):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf(`webkit`)===-1&&(t=`-webkit-`+t),r[t]=n+(typeof n==`string`?``:`px`)}}function y7(e,t){var n=``;if(typeof e==`string`)n=e;else do{var r=Z(e,`transform`);r&&r!==`none`&&(n=r+` `+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function b7(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function x7(){return document.scrollingElement||document.documentElement}function S7(e,t,n,r,i){if(!(!e.getBoundingClientRect&&e!==window)){var a,o,s,c,l,u,d;if(e!==window&&e.parentNode&&e!==x7()?(a=e.getBoundingClientRect(),o=a.top,s=a.left,c=a.bottom,l=a.right,u=a.height,d=a.width):(o=0,s=0,c=window.innerHeight,l=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i||=e.parentNode,!o7))do if(i&&i.getBoundingClientRect&&(Z(i,`transform`)!==`none`||n&&Z(i,`position`)!==`static`)){var f=i.getBoundingClientRect();o-=f.top+parseInt(Z(i,`border-top-width`)),s-=f.left+parseInt(Z(i,`border-left-width`)),c=o+a.height,l=s+a.width;break}while(i=i.parentNode);if(r&&e!==window){var p=y7(i||e),m=p&&p.a,h=p&&p.d;p&&(o/=h,s/=m,d/=m,u/=h,c=o+u,l=s+d)}return{top:o,left:s,bottom:c,right:l,width:d,height:u}}}function C7(e,t,n){for(var r=O7(e,!0),i=S7(e)[t];r;){var a=S7(r)[n],o=void 0;if(o=i>=a,!o)return r;if(r===x7())break;r=O7(r,!1)}return!1}function w7(e,t,n,r){for(var i=0,a=0,o=e.children;a<o.length;){if(o[a].style.display!==`none`&&o[a]!==$.ghost&&(r||o[a]!==$.dragged)&&g7(o[a],n.draggable,e,!1)){if(i===t)return o[a];i++}a++}return null}function T7(e,t){for(var n=e.lastElementChild;n&&(n===$.ghost||Z(n,`display`)===`none`||t&&!h7(n,t));)n=n.previousElementSibling;return n||null}function E7(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!==`TEMPLATE`&&e!==$.clone&&(!t||h7(e,t))&&n++;return n}function D7(e){var t=0,n=0,r=x7();if(e)do{var i=y7(e),a=i.a,o=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*o}while(e!==r&&(e=e.parentNode));return[t,n]}function bFe(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function O7(e,t){if(!e||!e.getBoundingClientRect)return x7();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Z(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX==`auto`||i.overflowX==`scroll`)||n.clientHeight<n.scrollHeight&&(i.overflowY==`auto`||i.overflowY==`scroll`)){if(!n.getBoundingClientRect||n===document.body)return x7();if(r||t)return n;r=!0}}while(n=n.parentNode);return x7()}function xFe(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function k7(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var A7;function j7(e,t){return function(){if(!A7){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),A7=setTimeout(function(){A7=void 0},t)}}}function SFe(){clearTimeout(A7),A7=void 0}function M7(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N7(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function P7(e,t,n){var r={};return Array.from(e.children).forEach(function(i){if(!(!g7(i,t.draggable,e,!1)||i.animated||i===n)){var a=S7(i);r.left=Math.min(r.left??1/0,a.left),r.top=Math.min(r.top??1/0,a.top),r.right=Math.max(r.right??-1/0,a.right),r.bottom=Math.max(r.bottom??-1/0,a.bottom)}}),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var F7=`Sortable`+new Date().getTime();function CFe(){var e=[],t;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(t){if(!(Z(t,`display`)===`none`||t===$.ghost)){e.push({target:t,rect:S7(t)});var n=n7({},e[e.length-1].rect);if(t.thisAnimationDuration){var r=y7(t,!0);r&&(n.top-=r.f,n.left-=r.e)}t.fromRect=n}})},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(bFe(e,{target:t}),1)},animateAll:function(n){var r=this;if(!this.options.animation){clearTimeout(t),typeof n==`function`&&n();return}var i=!1,a=0;e.forEach(function(e){var t=0,n=e.target,o=n.fromRect,s=S7(n),c=n.prevFromRect,l=n.prevToRect,u=e.rect,d=y7(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&k7(c,s)&&!k7(o,s)&&(u.top-s.top)/(u.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(t=TFe(u,c,l,r.options)),k7(s,o)||(n.prevFromRect=o,n.prevToRect=s,t||=r.options.animation,r.animate(n,u,s,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},t),n.thisAnimationDuration=t)}),clearTimeout(t),i?t=setTimeout(function(){typeof n==`function`&&n()},a):typeof n==`function`&&n(),e=[]},animate:function(e,t,n,r){if(r){Z(e,`transition`,``),Z(e,`transform`,``);var i=y7(this.el),a=i&&i.a,o=i&&i.d,s=(t.left-n.left)/(a||1),c=(t.top-n.top)/(o||1);e.animatingX=!!s,e.animatingY=!!c,Z(e,`transform`,`translate3d(`+s+`px,`+c+`px,0)`),this.forRepaintDummy=wFe(e),Z(e,`transition`,`transform `+r+`ms`+(this.options.easing?` `+this.options.easing:``)),Z(e,`transform`,`translate3d(0,0,0)`),typeof e.animated==`number`&&clearTimeout(e.animated),e.animated=setTimeout(function(){Z(e,`transition`,``),Z(e,`transform`,``),e.animated=!1,e.animatingX=!1,e.animatingY=!1},r)}}}}function wFe(e){return e.offsetWidth}function TFe(e,t,n,r){return Math.sqrt((t.top-e.top)**2+(t.left-e.left)**2)/Math.sqrt((t.top-n.top)**2+(t.left-n.left)**2)*r.animation}var I7=[],L7={initializeByDefault:!0},R7={mount:function(e){for(var t in L7)L7.hasOwnProperty(t)&&!(t in e)&&(e[t]=L7[t]);I7.forEach(function(t){if(t.pluginName===e.pluginName)throw`Sortable: Cannot mount plugin ${e.pluginName} more than once`}),I7.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+`Global`;I7.forEach(function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](n7({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](n7({sortable:t},n)))})},initializePlugins:function(e,t,n,r){for(var i in I7.forEach(function(r){var i=r.pluginName;if(!(!e.options[i]&&!r.initializeByDefault)){var a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,i7(n,a.defaults)}}),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);a!==void 0&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return I7.forEach(function(r){typeof r.eventProperties==`function`&&i7(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return I7.forEach(function(i){e[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[t]==`function`&&(r=i.optionListeners[t].call(e[i.pluginName],n))}),r}};function EFe(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,a=e.cloneEl,o=e.toEl,s=e.fromEl,c=e.oldIndex,l=e.newIndex,u=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,m=e.extraEventProperties;if(t||=n&&n[F7],t){var h,g=t.options,_=`on`+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!o7&&!s7?h=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(h=document.createEvent(`Event`),h.initEvent(r,!0,!0)),h.to=o||n,h.from=s||n,h.item=i||n,h.clone=a,h.oldIndex=c,h.newIndex=l,h.oldDraggableIndex=u,h.newDraggableIndex=d,h.originalEvent=f,h.pullMode=p?p.lastPutMode:void 0;var v=n7(n7({},m),R7.getEventProperties(r,t));for(var y in v)h[y]=v[y];n&&n.dispatchEvent(h),g[_]&&g[_].call(t,h)}}var DFe=[`evt`],z7=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.evt,i=_Fe(n,DFe);R7.pluginEvent.bind($)(e,t,n7({dragEl:Q,parentEl:V7,ghostEl:H7,rootEl:U7,nextEl:W7,lastDownEl:G7,cloneEl:K7,cloneHidden:q7,dragStarted:l9,putSortable:$7,activeSortable:$.active,originalEvent:r,oldIndex:J7,oldDraggableIndex:X7,newIndex:Y7,newDraggableIndex:Z7,hideGhostForTarget:T9,unhideGhostForTarget:E9,cloneNowHidden:function(){q7=!0},cloneNowShown:function(){q7=!1},dispatchSortableEvent:function(e){B7({sortable:t,name:e,originalEvent:r})}},i))};function B7(e){EFe(n7({putSortable:$7,cloneEl:K7,targetEl:Q,rootEl:U7,oldIndex:J7,oldDraggableIndex:X7,newIndex:Y7,newDraggableIndex:Z7},e))}var Q,V7,H7,U7,W7,G7,K7,q7,J7,Y7,X7,Z7,Q7,$7,e9=!1,t9=!1,n9=[],r9,i9,a9,o9,s9,c9,l9,u9,d9,f9=!1,p9=!1,m9,h9,g9=[],_9=!1,v9=[],y9=typeof document<`u`,b9=u7,x9=s7||o7?`cssFloat`:`float`,OFe=y9&&!d7&&!u7&&`draggable`in document.createElement(`div`),S9=function(){if(y9){if(o7)return!1;var e=document.createElement(`x`);return e.style.cssText=`pointer-events:auto`,e.style.pointerEvents===`auto`}}(),C9=function(e,t){var n=Z(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=w7(e,0,t),a=w7(e,1,t),o=i&&Z(i),s=a&&Z(a),c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+S7(i).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+S7(a).width;if(n.display===`flex`)return n.flexDirection===`column`||n.flexDirection===`column-reverse`?`vertical`:`horizontal`;if(n.display===`grid`)return n.gridTemplateColumns.split(` `).length<=1?`vertical`:`horizontal`;if(i&&o.float&&o.float!==`none`){var u=o.float===`left`?`left`:`right`;return a&&(s.clear===`both`||s.clear===u)?`vertical`:`horizontal`}return i&&(o.display===`block`||o.display===`flex`||o.display===`table`||o.display===`grid`||c>=r&&n[x9]===`none`||a&&n[x9]===`none`&&c+l>r)?`vertical`:`horizontal`},kFe=function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,o=n?t.left:t.top,s=n?t.right:t.bottom,c=n?t.width:t.height;return r===o||i===s||r+a/2===o+c/2},AFe=function(e,t){var n;return n9.some(function(r){var i=r[F7].options.emptyInsertThreshold;if(!(!i||T7(r))){var a=S7(r),o=e>=a.left-i&&e<=a.right+i,s=t>=a.top-i&&t<=a.bottom+i;if(o&&s)return n=r}}),n},w9=function(e){function t(e,n){return function(r,i,a,o){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(e==null&&(n||s))return!0;if(e==null||e===!1)return!1;if(n&&e===`clone`)return e;if(typeof e==`function`)return t(e(r,i,a,o),n)(r,i,a,o);var c=(n?r:i).options.group.name;return e===!0||typeof e==`string`&&e===c||e.join&&e.indexOf(c)>-1}}var n={},r=e.group;(!r||r7(r)!=`object`)&&(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},T9=function(){!S9&&H7&&Z(H7,`display`,`none`)},E9=function(){!S9&&H7&&Z(H7,`display`,``)};y9&&!d7&&document.addEventListener(`click`,function(e){if(t9)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),t9=!1,!1},!0);var D9=function(e){if(Q){e=e.touches?e.touches[0]:e;var t=AFe(e.clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[F7]._onDragOver(n)}}},jFe=function(e){Q&&Q.parentNode[F7]._isOutsideThisEl(e.target)};function $(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw`Sortable: \`el\` must be an HTMLElement, not ${{}.toString.call(e)}`;this.el=e,this.options=t=i7({},t),e[F7]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?`>li`:`>*`,swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return C9(e,this.options)},ghostClass:`sortable-ghost`,chosenClass:`sortable-chosen`,dragClass:`sortable-drag`,ignore:`a, img`,filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData(`Text`,t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:`data-id`,delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:`sortable-fallback`,fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:$.supportPointer!==!1&&`PointerEvent`in window&&!l7,emptyInsertThreshold:5};for(var r in R7.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in w9(t),this)i.charAt(0)===`_`&&typeof this[i]==`function`&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:OFe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?p7(e,`pointerdown`,this._onTapStart):(p7(e,`mousedown`,this._onTapStart),p7(e,`touchstart`,this._onTapStart)),this.nativeDraggable&&(p7(e,`dragover`,this),p7(e,`dragenter`,this)),n9.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),i7(this,CFe())}$.prototype={constructor:$,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(u9=null)},_getDirection:function(e,t){return typeof this.options.direction==`function`?this.options.direction.call(this,e,t,Q):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,a=e.type,o=e.touches&&e.touches[0]||e.pointerType&&e.pointerType===`touch`&&e,s=(o||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,l=r.filter;if(zFe(n),!Q&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||r.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&l7&&s&&s.tagName.toUpperCase()===`SELECT`)&&(s=g7(s,r.draggable,n,!1),!(s&&s.animated)&&G7!==s)){if(J7=E7(s),X7=E7(s,r.draggable),typeof l==`function`){if(l.call(this,e,s,this)){B7({sortable:t,rootEl:c,name:`filter`,targetEl:s,toEl:n,fromEl:n}),z7(`filter`,t,{evt:e}),i&&e.cancelable&&e.preventDefault();return}}else if(l&&(l=l.split(`,`).some(function(r){if(r=g7(c,r.trim(),n,!1),r)return B7({sortable:t,rootEl:r,name:`filter`,targetEl:s,fromEl:n,toEl:n}),z7(`filter`,t,{evt:e}),!0}),l)){i&&e.cancelable&&e.preventDefault();return}r.handle&&!g7(c,r.handle,n,!1)||this._prepareDragStart(e,o,s)}}},_prepareDragStart:function(e,t,n){var r=this,i=r.el,a=r.options,o=i.ownerDocument,s;if(n&&!Q&&n.parentNode===i){var c=S7(n);if(U7=i,Q=n,V7=Q.parentNode,W7=Q.nextSibling,G7=n,Q7=a.group,$.dragged=Q,r9={target:Q,clientX:(t||e).clientX,clientY:(t||e).clientY},s9=r9.clientX-c.left,c9=r9.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Q.style[`will-change`]=`all`,s=function(){if(z7(`delayEnded`,r,{evt:e}),$.eventCanceled){r._onDrop();return}r._disableDelayedDragEvents(),!c7&&r.nativeDraggable&&(Q.draggable=!0),r._triggerDragStart(e,t),B7({sortable:r,name:`choose`,originalEvent:e}),v7(Q,a.chosenClass,!0)},a.ignore.split(`,`).forEach(function(e){b7(Q,e.trim(),k9)}),p7(o,`dragover`,D9),p7(o,`mousemove`,D9),p7(o,`touchmove`,D9),p7(o,`mouseup`,r._onDrop),p7(o,`touchend`,r._onDrop),p7(o,`touchcancel`,r._onDrop),c7&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Q.draggable=!0),z7(`delayStart`,this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(s7||o7))){if($.eventCanceled){this._onDrop();return}p7(o,`mouseup`,r._disableDelayedDrag),p7(o,`touchend`,r._disableDelayedDrag),p7(o,`touchcancel`,r._disableDelayedDrag),p7(o,`mousemove`,r._delayedDragTouchMoveHandler),p7(o,`touchmove`,r._delayedDragTouchMoveHandler),a.supportPointer&&p7(o,`pointermove`,r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Q&&k9(Q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;m7(e,`mouseup`,this._disableDelayedDrag),m7(e,`touchend`,this._disableDelayedDrag),m7(e,`touchcancel`,this._disableDelayedDrag),m7(e,`mousemove`,this._delayedDragTouchMoveHandler),m7(e,`touchmove`,this._delayedDragTouchMoveHandler),m7(e,`pointermove`,this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t||=e.pointerType==`touch`&&e,!this.nativeDraggable||t?this.options.supportPointer?p7(document,`pointermove`,this._onTouchMove):t?p7(document,`touchmove`,this._onTouchMove):p7(document,`mousemove`,this._onTouchMove):(p7(Q,`dragend`,this),p7(U7,`dragstart`,this._onDragStart));try{document.selection?A9(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(e9=!1,U7&&Q){z7(`dragStarted`,this,{evt:t}),this.nativeDraggable&&p7(document,`dragover`,jFe);var n=this.options;!e&&v7(Q,n.dragClass,!1),v7(Q,n.ghostClass,!0),$.active=this,e&&this._appendGhost(),B7({sortable:this,name:`start`,originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(i9){this._lastX=i9.clientX,this._lastY=i9.clientY,T9();for(var e=document.elementFromPoint(i9.clientX,i9.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(i9.clientX,i9.clientY),e!==t);)t=e;if(Q.parentNode[F7]._isOutsideThisEl(e),t)do{if(t[F7]){var n=void 0;if(n=t[F7]._onDragOver({clientX:i9.clientX,clientY:i9.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);E9()}},_onTouchMove:function(e){if(r9){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=H7&&y7(H7,!0),o=H7&&a&&a.a,s=H7&&a&&a.d,c=b9&&h9&&D7(h9),l=(i.clientX-r9.clientX+r.x)/(o||1)+(c?c[0]-g9[0]:0)/(o||1),u=(i.clientY-r9.clientY+r.y)/(s||1)+(c?c[1]-g9[1]:0)/(s||1);if(!$.active&&!e9){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(H7){a?(a.e+=l-(a9||0),a.f+=u-(o9||0)):a={a:1,b:0,c:0,d:1,e:l,f:u};var d=`matrix(${a.a},${a.b},${a.c},${a.d},${a.e},${a.f})`;Z(H7,`webkitTransform`,d),Z(H7,`mozTransform`,d),Z(H7,`msTransform`,d),Z(H7,`transform`,d),a9=l,o9=u,i9=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!H7){var e=this.options.fallbackOnBody?document.body:U7,t=S7(Q,!0,b9,!0,e),n=this.options;if(b9){for(h9=e;Z(h9,`position`)===`static`&&Z(h9,`transform`)===`none`&&h9!==document;)h9=h9.parentNode;h9!==document.body&&h9!==document.documentElement?(h9===document&&(h9=x7()),t.top+=h9.scrollTop,t.left+=h9.scrollLeft):h9=x7(),g9=D7(h9)}H7=Q.cloneNode(!0),v7(H7,n.ghostClass,!1),v7(H7,n.fallbackClass,!0),v7(H7,n.dragClass,!0),Z(H7,`transition`,``),Z(H7,`transform`,``),Z(H7,`box-sizing`,`border-box`),Z(H7,`margin`,0),Z(H7,`top`,t.top),Z(H7,`left`,t.left),Z(H7,`width`,t.width),Z(H7,`height`,t.height),Z(H7,`opacity`,`0.8`),Z(H7,`position`,b9?`absolute`:`fixed`),Z(H7,`zIndex`,`100000`),Z(H7,`pointerEvents`,`none`),$.ghost=H7,e.appendChild(H7),Z(H7,`transform-origin`,s9/parseInt(H7.style.width)*100+`% `+c9/parseInt(H7.style.height)*100+`%`)}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;if(z7(`dragStart`,this,{evt:e}),$.eventCanceled){this._onDrop();return}z7(`setupClone`,this),$.eventCanceled||(K7=N7(Q),K7.removeAttribute(`id`),K7.draggable=!1,K7.style[`will-change`]=``,this._hideClone(),v7(K7,this.options.chosenClass,!1),$.clone=K7),n.cloneId=A9(function(){z7(`clone`,n),!$.eventCanceled&&(n.options.removeCloneOnHide||U7.insertBefore(K7,Q),n._hideClone(),B7({sortable:n,name:`clone`}))}),!t&&v7(Q,i.dragClass,!0),t?(t9=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m7(document,`mouseup`,n._onDrop),m7(document,`touchend`,n._onDrop),m7(document,`touchcancel`,n._onDrop),r&&(r.effectAllowed=`move`,i.setData&&i.setData.call(n,r,Q)),p7(document,`drop`,n),Z(Q,`transform`,`translateZ(0)`)),e9=!0,n._dragStartId=A9(n._dragStarted.bind(n,t,e)),p7(document,`selectstart`,n),l9=!0,l7&&Z(document.body,`user-select`,`none`)},_onDragOver:function(e){var t=this.el,n=e.target,r,i,a,o=this.options,s=o.group,c=$.active,l=Q7===s,u=o.sort,d=$7||c,f,p=this,m=!1;if(_9)return;function h(o,s){z7(o,p,n7({evt:e,isOwner:l,axis:f?`vertical`:`horizontal`,revert:a,dragRect:r,targetRect:i,canSort:u,fromSortable:d,target:n,completed:_,onMove:function(n,i){return O9(U7,t,Q,r,n,S7(n),e,i)},changed:v},s))}function g(){h(`dragOverAnimationCapture`),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function _(r){return h(`dragOverCompleted`,{insertion:r}),r&&(l?c._hideClone():c._showClone(p),p!==d&&(v7(Q,$7?$7.options.ghostClass:c.options.ghostClass,!1),v7(Q,o.ghostClass,!0)),$7!==p&&p!==$.active?$7=p:p===$.active&&$7&&($7=null),d===p&&(p._ignoreWhileAnimating=n),p.animateAll(function(){h(`dragOverAnimationComplete`),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(n===Q&&!Q.animated||n===t&&!n.animated)&&(u9=null),!o.dragoverBubble&&!e.rootEl&&n!==document&&(Q.parentNode[F7]._isOutsideThisEl(e.target),!r&&D9(e)),!o.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function v(){Y7=E7(Q),Z7=E7(Q,o.draggable),B7({sortable:p,name:`change`,toEl:t,newIndex:Y7,newDraggableIndex:Z7,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),n=g7(n,o.draggable,t,!0),h(`dragOver`),$.eventCanceled)return m;if(Q.contains(e.target)||n.animated&&n.animatingX&&n.animatingY||p._ignoreWhileAnimating===n)return _(!1);if(t9=!1,c&&!o.disabled&&(l?u||(a=V7!==U7):$7===this||(this.lastPutMode=Q7.checkPull(this,c,Q,e))&&s.checkPut(this,c,Q,e))){if(f=this._getDirection(e,n)===`vertical`,r=S7(Q),h(`dragOverValid`),$.eventCanceled)return m;if(a)return V7=U7,g(),this._hideClone(),h(`revert`),$.eventCanceled||(W7?U7.insertBefore(Q,W7):U7.appendChild(Q)),_(!0);var y=T7(t,o.draggable);if(!y||FFe(e,f,this)&&!y.animated){if(y===Q)return _(!1);if(y&&t===e.target&&(n=y),n&&(i=S7(n)),O9(U7,t,Q,r,n,i,e,!!n)!==!1)return g(),y&&y.nextSibling?t.insertBefore(Q,y.nextSibling):t.appendChild(Q),V7=t,v(),_(!0)}else if(y&&PFe(e,f,this)){var b=w7(t,0,o,!0);if(b===Q)return _(!1);if(n=b,i=S7(n),O9(U7,t,Q,r,n,i,e,!1)!==!1)return g(),t.insertBefore(Q,b),V7=t,v(),_(!0)}else if(n.parentNode===t){i=S7(n);var x=0,S,C=Q.parentNode!==t,w=!kFe(Q.animated&&Q.toRect||r,n.animated&&n.toRect||i,f),T=f?`top`:`left`,E=C7(n,`top`,`top`)||C7(Q,`top`,`top`),D=E?E.scrollTop:void 0;u9!==n&&(S=i[T],f9=!1,p9=!w&&o.invertSwap||C),x=IFe(e,n,i,f,w?1:o.swapThreshold,o.invertedSwapThreshold==null?o.swapThreshold:o.invertedSwapThreshold,p9,u9===n);var O;if(x!==0){var ee=E7(Q);do ee-=x,O=V7.children[ee];while(O&&(Z(O,`display`)===`none`||O===H7))}if(x===0||O===n)return _(!1);u9=n,d9=x;var k=n.nextElementSibling,te=!1;te=x===1;var A=O9(U7,t,Q,r,n,i,e,te);if(A!==!1)return(A===1||A===-1)&&(te=A===1),_9=!0,setTimeout(NFe,30),g(),te&&!k?t.appendChild(Q):n.parentNode.insertBefore(Q,te?k:n),E&&M7(E,0,D-E.scrollTop),V7=Q.parentNode,S!==void 0&&!p9&&(m9=Math.abs(S-S7(n)[T])),v(),_(!0)}if(t.contains(Q))return _(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m7(document,`mousemove`,this._onTouchMove),m7(document,`touchmove`,this._onTouchMove),m7(document,`pointermove`,this._onTouchMove),m7(document,`dragover`,D9),m7(document,`mousemove`,D9),m7(document,`touchmove`,D9)},_offUpEvents:function(){var e=this.el.ownerDocument;m7(e,`mouseup`,this._onDrop),m7(e,`touchend`,this._onDrop),m7(e,`pointerup`,this._onDrop),m7(e,`touchcancel`,this._onDrop),m7(document,`selectstart`,this)},_onDrop:function(e){var t=this.el,n=this.options;if(Y7=E7(Q),Z7=E7(Q,n.draggable),z7(`drop`,this,{evt:e}),V7=Q&&Q.parentNode,Y7=E7(Q),Z7=E7(Q,n.draggable),$.eventCanceled){this._nulling();return}e9=!1,p9=!1,f9=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),j9(this.cloneId),j9(this._dragStartId),this.nativeDraggable&&(m7(document,`drop`,this),m7(t,`dragstart`,this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),l7&&Z(document.body,`user-select`,``),Z(Q,`transform`,``),e&&(l9&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),H7&&H7.parentNode&&H7.parentNode.removeChild(H7),(U7===V7||$7&&$7.lastPutMode!==`clone`)&&K7&&K7.parentNode&&K7.parentNode.removeChild(K7),Q&&(this.nativeDraggable&&m7(Q,`dragend`,this),k9(Q),Q.style[`will-change`]=``,l9&&!e9&&v7(Q,$7?$7.options.ghostClass:this.options.ghostClass,!1),v7(Q,this.options.chosenClass,!1),B7({sortable:this,name:`unchoose`,toEl:V7,newIndex:null,newDraggableIndex:null,originalEvent:e}),U7===V7?Y7!==J7&&Y7>=0&&(B7({sortable:this,name:`update`,toEl:V7,originalEvent:e}),B7({sortable:this,name:`sort`,toEl:V7,originalEvent:e})):(Y7>=0&&(B7({rootEl:V7,name:`add`,toEl:V7,fromEl:U7,originalEvent:e}),B7({sortable:this,name:`remove`,toEl:V7,originalEvent:e}),B7({rootEl:V7,name:`sort`,toEl:V7,fromEl:U7,originalEvent:e}),B7({sortable:this,name:`sort`,toEl:V7,originalEvent:e})),$7&&$7.save()),$.active&&((Y7==null||Y7===-1)&&(Y7=J7,Z7=X7),B7({sortable:this,name:`end`,toEl:V7,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){z7(`nulling`,this),U7=Q=V7=H7=W7=K7=G7=q7=r9=i9=l9=Y7=Z7=J7=X7=u9=d9=$7=Q7=$.dragged=$.ghost=$.clone=$.active=null,v9.forEach(function(e){e.checked=!0}),v9.length=a9=o9=0},handleEvent:function(e){switch(e.type){case`drop`:case`dragend`:this._onDrop(e);break;case`dragenter`:case`dragover`:Q&&(this._onDragOver(e),MFe(e));break;case`selectstart`:e.preventDefault();break}},toArray:function(){for(var e=[],t,n=this.el.children,r=0,i=n.length,a=this.options;r<i;r++)t=n[r],g7(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||RFe(t));return e},sort:function(e,t){var n={},r=this.el;this.toArray().forEach(function(e,t){var i=r.children[t];g7(i,this.options.draggable,r,!1)&&(n[e]=i)},this),t&&this.captureAnimationState(),e.forEach(function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return g7(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(t===void 0)return n[e];var r=R7.modifyOption(this,e,t);r===void 0?n[e]=t:n[e]=r,e===`group`&&w9(n)},destroy:function(){z7(`destroy`,this);var e=this.el;e[F7]=null,m7(e,`mousedown`,this._onTapStart),m7(e,`touchstart`,this._onTapStart),m7(e,`pointerdown`,this._onTapStart),this.nativeDraggable&&(m7(e,`dragover`,this),m7(e,`dragenter`,this)),Array.prototype.forEach.call(e.querySelectorAll(`[draggable]`),function(e){e.removeAttribute(`draggable`)}),this._onDrop(),this._disableDelayedDragEvents(),n9.splice(n9.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!q7){if(z7(`hideClone`,this),$.eventCanceled)return;Z(K7,`display`,`none`),this.options.removeCloneOnHide&&K7.parentNode&&K7.parentNode.removeChild(K7),q7=!0}},_showClone:function(e){if(e.lastPutMode!==`clone`){this._hideClone();return}if(q7){if(z7(`showClone`,this),$.eventCanceled)return;Q.parentNode==U7&&!this.options.group.revertClone?U7.insertBefore(K7,Q):W7?U7.insertBefore(K7,W7):U7.appendChild(K7),this.options.group.revertClone&&this.animate(Q,K7),Z(K7,`display`,``),q7=!1}}};function MFe(e){e.dataTransfer&&(e.dataTransfer.dropEffect=`move`),e.cancelable&&e.preventDefault()}function O9(e,t,n,r,i,a,o,s){var c,l=e[F7],u=l.options.onMove,d;return window.CustomEvent&&!o7&&!s7?c=new CustomEvent(`move`,{bubbles:!0,cancelable:!0}):(c=document.createEvent(`Event`),c.initEvent(`move`,!0,!0)),c.to=t,c.from=e,c.dragged=n,c.draggedRect=r,c.related=i||t,c.relatedRect=a||S7(t),c.willInsertAfter=s,c.originalEvent=o,e.dispatchEvent(c),u&&(d=u.call(l,c,o)),d}function k9(e){e.draggable=!1}function NFe(){_9=!1}function PFe(e,t,n){var r=S7(w7(n.el,0,n.options,!0)),i=P7(n.el,n.options,H7),a=10;return t?e.clientX<i.left-a||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-a||e.clientY<r.bottom&&e.clientX<r.left}function FFe(e,t,n){var r=S7(T7(n.el,n.options.draggable)),i=P7(n.el,n.options,H7),a=10;return t?e.clientX>i.right+a||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+a||e.clientX>r.right&&e.clientY>r.top}function IFe(e,t,n,r,i,a,o,s){var c=r?e.clientY:e.clientX,l=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!o){if(s&&m9<l*i){if(!f9&&(d9===1?c>u+l*a/2:c<d-l*a/2)&&(f9=!0),f9)f=!0;else if(d9===1?c<u+m9:c>d-m9)return-d9}else if(c>u+l*(1-i)/2&&c<d-l*(1-i)/2)return LFe(t)}return f||=o,f&&(c<u+l*a/2||c>d-l*a/2)?c>u+l/2?1:-1:0}function LFe(e){return E7(Q)<E7(e)?1:-1}function RFe(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function zFe(e){v9.length=0;for(var t=e.getElementsByTagName(`input`),n=t.length;n--;){var r=t[n];r.checked&&v9.push(r)}}function A9(e){return setTimeout(e,0)}function j9(e){return clearTimeout(e)}y9&&p7(document,`touchmove`,function(e){($.active||e9)&&e.cancelable&&e.preventDefault()}),$.utils={on:p7,off:m7,css:Z,find:b7,is:function(e,t){return!!g7(e,t,e,!1)},extend:xFe,throttle:j7,closest:g7,toggleClass:v7,clone:N7,index:E7,nextTick:A9,cancelNextTick:j9,detectDirection:C9,getChild:w7},$.get=function(e){return e[F7]},$.mount=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw`Sortable: Mounted plugin must be a constructor function, not ${{}.toString.call(e)}`;e.utils&&($.utils=n7(n7({},$.utils),e.utils)),R7.mount(e)})},$.create=function(e,t){return new $(e,t)},$.version=vFe;var M9=[],N9,P9,F9=!1,I9,L9,R9,z9;function BFe(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)e.charAt(0)===`_`&&typeof this[e]==`function`&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?p7(document,`dragover`,this._handleAutoScroll):this.options.supportPointer?p7(document,`pointermove`,this._handleFallbackAutoScroll):t.touches?p7(document,`touchmove`,this._handleFallbackAutoScroll):p7(document,`mousemove`,this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;!this.options.dragOverBubble&&!t.rootEl&&this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?m7(document,`dragover`,this._handleAutoScroll):(m7(document,`pointermove`,this._handleFallbackAutoScroll),m7(document,`touchmove`,this._handleFallbackAutoScroll),m7(document,`mousemove`,this._handleFallbackAutoScroll)),V9(),B9(),SFe()},nulling:function(){R9=P9=N9=F9=z9=I9=L9=null,M9.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(r,i);if(R9=e,t||this.options.forceAutoScrollFallback||s7||o7||l7){H9(e,this.options,a,t);var o=O7(a,!0);F9&&(!z9||r!==I9||i!==L9)&&(z9&&V9(),z9=setInterval(function(){var a=O7(document.elementFromPoint(r,i),!0);a!==o&&(o=a,B9()),H9(e,n.options,a,t)},10),I9=r,L9=i)}else{if(!this.options.bubbleScroll||O7(a,!0)===x7()){B9();return}H9(e,this.options,O7(a,!1),!1)}}},i7(e,{pluginName:`scroll`,initializeByDefault:!0})}function B9(){M9.forEach(function(e){clearInterval(e.pid)}),M9=[]}function V9(){clearInterval(z9)}var H9=j7(function(e,t,n,r){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,o=t.scrollSensitivity,s=t.scrollSpeed,c=x7(),l=!1,u;P9!==n&&(P9=n,B9(),N9=t.scroll,u=t.scrollFn,N9===!0&&(N9=O7(n,!0)));var d=0,f=N9;do{var p=f,m=S7(p),h=m.top,g=m.bottom,_=m.left,v=m.right,y=m.width,b=m.height,x=void 0,S=void 0,C=p.scrollWidth,w=p.scrollHeight,T=Z(p),E=p.scrollLeft,D=p.scrollTop;p===c?(x=y<C&&(T.overflowX===`auto`||T.overflowX===`scroll`||T.overflowX===`visible`),S=b<w&&(T.overflowY===`auto`||T.overflowY===`scroll`||T.overflowY===`visible`)):(x=y<C&&(T.overflowX===`auto`||T.overflowX===`scroll`),S=b<w&&(T.overflowY===`auto`||T.overflowY===`scroll`));var O=x&&(Math.abs(v-i)<=o&&E+y<C)-(Math.abs(_-i)<=o&&!!E),ee=S&&(Math.abs(g-a)<=o&&D+b<w)-(Math.abs(h-a)<=o&&!!D);if(!M9[d])for(var k=0;k<=d;k++)M9[k]||(M9[k]={});(M9[d].vx!=O||M9[d].vy!=ee||M9[d].el!==p)&&(M9[d].el=p,M9[d].vx=O,M9[d].vy=ee,clearInterval(M9[d].pid),(O!=0||ee!=0)&&(l=!0,M9[d].pid=setInterval(function(){r&&this.layer===0&&$.active._onTouchMove(R9);var t=M9[this.layer].vy?M9[this.layer].vy*s:0,n=M9[this.layer].vx?M9[this.layer].vx*s:0;typeof u==`function`&&u.call($.dragged.parentNode[F7],n,t,e,R9,M9[this.layer].el)!==`continue`||M7(M9[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==c&&(f=O7(f,!1)));F9=l}},30),U9=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,o=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var c=n||i;o();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);s(),c&&!c.el.contains(u)&&(a(`spill`),this.onSpill({dragEl:r,putSortable:n}))}};function W9(){}W9.prototype={startIndex:null,dragStart:function(e){this.startIndex=e.oldDraggableIndex},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=w7(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:U9},i7(W9,{pluginName:`revertOnSpill`});function G9(){}G9.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:U9},i7(G9,{pluginName:`removeOnSpill`}),$.mount(new BFe),$.mount(G9,W9);function VFe(e){return e==null?e:JSON.parse(JSON.stringify(e))}function HFe(t){(0,e.getCurrentInstance)()&&(0,e.onUnmounted)(t)}function UFe(t){(0,e.getCurrentInstance)()?(0,e.onMounted)(t):(0,e.nextTick)(t)}var K9=null,q9=null;function J9(e=null,t=null){K9=e,q9=t}function WFe(){return{data:K9,clonedData:q9}}var Y9=Symbol(`cloneElement`);function X9(...t){let n=(0,e.getCurrentInstance)()?.proxy,r=null,i=t[0],[,a,o]=t;Array.isArray((0,e.unref)(a))||(o=a,a=null);let s=null,{immediate:c=!0,clone:l=VFe,forceFallback:u,fallbackOnBody:d,customUpdate:f}=(0,e.unref)(o)??{};function p(t){let{from:n,oldIndex:i,item:o}=t,s=Array.from(n.childNodes);r=u&&!d?s.slice(0,-1):s;let c=(0,e.unref)((0,e.unref)(a)?.[i]),f=l(c);J9(c,f),o[Y9]=f}function m(t){let n=t.item[Y9];if(!sFe(n)){if($5(t.item),(0,e.isRef)(a)){let r=[...(0,e.unref)(a)];a.value=Z5(r,t.newDraggableIndex,n);return}Z5((0,e.unref)(a),t.newDraggableIndex,n)}}function h(t){let{from:n,item:r,oldIndex:i,oldDraggableIndex:o,pullMode:s,clone:c}=t;if(Q5(n,r,i),s===`clone`){$5(c);return}if((0,e.isRef)(a)){let t=[...(0,e.unref)(a)];a.value=X5(t,o);return}X5((0,e.unref)(a),o)}function g(t){if(f){f(t);return}let{from:n,item:r,oldIndex:i,oldDraggableIndex:o,newDraggableIndex:s}=t;if($5(r),Q5(n,r,i),(0,e.isRef)(a)){let t=[...(0,e.unref)(a)];a.value=Y5(t,o,s);return}Y5((0,e.unref)(a),o,s)}function _(t){let{newIndex:n,oldIndex:i,from:a,to:o}=t,s=null,c=n===i&&a===o;try{if(c){let e=null;r?.some((t,n)=>{if(e&&r?.length!==o.childNodes.length)return a.insertBefore(e,t.nextSibling),!0;let i=o.childNodes[n];e=o?.replaceChild(t,i)})}}catch(e){s=e}finally{r=null}(0,e.nextTick)(()=>{if(J9(),s)throw s})}let v={onUpdate:g,onStart:p,onAdd:m,onRemove:h,onEnd:_};function y(t){let r=(0,e.unref)(i);return t||=cFe(r)?lFe(r,n?.$el):r,t&&!fFe(t)&&(t=t.$el),t||iFe(`Root element not found`),t}function b(){let t=(0,e.unref)(o)??{},{immediate:n,clone:r}=t,i=q5(t,[`immediate`,`clone`]);return e7(i,(e,t)=>{pFe(e)&&(i[e]=(e,...n)=>(mFe(e,WFe()),t(e,...n)))}),dFe(a===null?{}:v,i)}let x=e=>{e=y(e),s&&S.destroy(),s=new $(e,b())};(0,e.watch)(()=>o,()=>{s&&e7(b(),(e,t)=>{s?.option(e,t)})},{deep:!0});let S={option:(e,t)=>s?.option(e,t),destroy:()=>{s?.destroy(),s=null},save:()=>s?.save(),toArray:()=>s?.toArray(),closest:(...e)=>s?.closest(...e)};return UFe(()=>{c&&x()}),HFe(S.destroy),K5({start:x,pause:()=>S?.option(`disabled`,!0),resume:()=>S?.option(`disabled`,!1)},S)}var Z9=[`update`,`start`,`add`,`remove`,`choose`,`unchoose`,`end`,`sort`,`filter`,`clone`,`move`,`change`];(0,e.defineComponent)({name:`VueDraggable`,model:{prop:`modelValue`,event:`update:modelValue`},props:[`clone`,`animation`,`ghostClass`,`group`,`sort`,`disabled`,`store`,`handle`,`draggable`,`swapThreshold`,`invertSwap`,`invertedSwapThreshold`,`removeCloneOnHide`,`direction`,`chosenClass`,`dragClass`,`ignore`,`filter`,`preventOnFilter`,`easing`,`setData`,`dropBubble`,`dragoverBubble`,`dataIdAttr`,`delay`,`delayOnTouchOnly`,`touchStartThreshold`,`forceFallback`,`fallbackClass`,`fallbackOnBody`,`fallbackTolerance`,`fallbackOffset`,`supportPointer`,`emptyInsertThreshold`,`scroll`,`forceAutoScrollFallback`,`scrollSensitivity`,`scrollSpeed`,`bubbleScroll`,`modelValue`,`tag`,`target`,`customUpdate`,...Z9.map(e=>`on${e.replace(/^\S/,e=>e.toUpperCase())}`)],emits:[`update:modelValue`,...Z9],setup(t,{slots:n,emit:r,expose:i,attrs:a}){let o=Z9.reduce((e,t)=>{let n=`on${t.replace(/^\S/,e=>e.toUpperCase())}`;return e[n]=(...e)=>r(t,...e),e},{}),s=(0,e.computed)(()=>{let n=(0,e.toRefs)(t),{modelValue:r}=n,i=q5(n,[`modelValue`]),s=Object.entries(i).reduce((t,[n,r])=>{let i=(0,e.unref)(r);return i!==void 0&&(t[n]=i),t},{});return K5(K5({},o),oFe(K5(K5({},a),s)))}),c=(0,e.computed)({get:()=>t.modelValue,set:e=>r(`update:modelValue`,e)}),l=(0,e.ref)(),u=(0,e.reactive)(X9(t.target||l,c,s));return i(u),()=>(0,e.h)(t.tag||`div`,{ref:l},(n?.default)?.call(n,u))}});var Q9={mounted:`mounted`,unmounted:`unmounted`},$9=new WeakMap,GFe={[Q9.mounted](t,n){let[r,i]=(0,e.isProxy)(n.value)?[n.value]:n.value,a=X9(t,r,i);$9.set(t,a.destroy)},[Q9.unmounted](e){var t;(t=$9.get(e))==null||t(),$9.delete(e)}},KFe={class:`file-grid-content`},qFe=[`src`,`alt`],JFe={class:`file-grid-action`},YFe=[`onClick`],XFe=[`onClick`],ZFe={key:0,class:`image-alt`},QFe={class:`oga-image-upload-drag`},$Fe=[`innerHTML`],eIe={class:`el-upload__tip`},tIe={class:`oga-alt-preview`},nIe=[`src`,`alt`],rIe={class:`text-secondary`},iIe=(0,e.defineComponent)({__name:`index`,props:(0,e.mergeModels)({action:{type:String,default:``},tip:{type:String,default:``},folder:{type:String,default:``},max:{type:Number,default:12},radius:{type:Number,default:6},headers:{type:String,token:``},refId:{type:String,default:``},resourceType:{type:Number,default:()=>1}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(t){let n=(0,e.useModel)(t,`modelValue`),r=(0,e.ref)(!1),i=(0,e.ref)({}),a=t,o=e=>e.indexOf(`.`)===-1?e:e.substring(0,e.lastIndexOf(`.`)),s=(e,t)=>{n.value.push({title:o(t.name).replace(/-/gi,` `),url:e.data.url,refType:a.resourceType,refId:a.refId,fileType:ne(t.name),suffix:te(t.name)})},c=(e,t)=>{r.value=!0,i.value=e},l=()=>{r.value=!1,i.value.title=i.value.title.replace(/(^\s*)|(\s*$)/g,``)},u=e=>{JPe.confirm(Mr.global.t(`fileUpload.delete.subheading`),Mr.global.t(`fileUpload.delete.heading`),{confirmButtonText:Mr.global.t(`fileUpload.confirm`),cancelButtonText:Mr.global.t(`fileUpload.cancel`),type:`warning`,modalClass:`file-grid-overlay`}).then(()=>{n.value.splice(e,1)})};return(a,o)=>{let d=(0,e.resolveComponent)(`el-upload`),f=(0,e.resolveComponent)(`el-col`),p=(0,e.resolveComponent)(`el-input`),m=(0,e.resolveComponent)(`el-row`),h=(0,e.resolveComponent)(`el-button`),g=(0,e.resolveComponent)(`el-dialog`);return(0,e.openBlock)(),(0,e.createElementBlock)(`div`,{style:(0,e.normalizeStyle)({"--radius":t.radius})},[(0,e.withDirectives)(((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:(0,e.normalizeClass)([`file-grid`,n.value.length===0?`none`:``])},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(n.value,(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:`file-grid-item file-grid-drag`,key:`file-guid-${n}`},[(0,e.createElementVNode)(`div`,KFe,[(0,e.createElementVNode)(`img`,{src:t.url,alt:t.title},null,8,qFe),(0,e.createElementVNode)(`div`,JFe,[(0,e.createElementVNode)(`p`,null,[(0,e.createElementVNode)(`label`,{onClick:e=>c(t,n)},[...o[3]||=[(0,e.createElementVNode)(`svg`,{viewBox:`0 0 1532 1024`},[(0,e.createElementVNode)(`path`,{d:`M188.74248556 561.99248544h151.59011704l-79.47192457-219.32187142L188.74248556 561.99248544z m-174.16736806 258.02573071l210.03617041-612.81110961h165.65251927L614.48494155 820.01821615h-182.12423719l-64.51933309-181.0469794h-205.46266378L101.51688777 820.01821615H14.5751175z m670.86689983 0V207.20710654h171.58065923v530.3073816H1078.93125552V820.01821615H685.44201733z m512.37459341 0V289.71083327H1033.77675345V207.20710654h499.92485187v82.50372673h-163.57863661V820.01821615H1197.81661074z`})],-1)]],8,YFe),(0,e.createElementVNode)(`label`,{onClick:e=>u(n)},[...o[4]||=[(0,e.createElementVNode)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{d:`M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32`})],-1)]],8,XFe)])]),(0,e.unref)(O)(t.title)?(0,e.createCommentVNode)(`v-if`,!0):((0,e.openBlock)(),(0,e.createElementBlock)(`label`,ZFe))])]))),128)),n.value.length<t.max?((0,e.openBlock)(),(0,e.createBlock)(d,{key:0,class:(0,e.normalizeClass)(n.value.length===0?`file-grid-none`:`file-grid-item`),drag:``,action:t.action,multiple:``,"on-success":s,"show-file-list":!1},(0,e.createSlots)({default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,QFe,[o[5]||=(0,e.createElementVNode)(`svg`,{class:`el-icon--upload`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1024 1024`},[(0,e.createElementVNode)(`path`,{fill:`currentColor`,d:`M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z`})],-1),n.value.length===0?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:0,class:`el-upload__text`,innerHTML:(0,e.unref)(Mr).global.tm(`fileUpload.drag`)},null,8,$Fe)):(0,e.createCommentVNode)(`v-if`,!0)])]),_:2},[(0,e.unref)(ee)(t.tip)?{name:`tip`,fn:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,eIe,(0,e.toDisplayString)(t.tip),1)]),key:`0`}:void 0]),1032,[`class`,`action`])):(0,e.createCommentVNode)(`v-if`,!0)],2)),[[(0,e.unref)(GFe),[n.value,{animation:150,ghostClass:`ghost`}]]]),(0,e.createVNode)(g,{title:(0,e.unref)(Mr).global.t(`fileUpload.alt.heading`),"close-on-click-modal":!1,modelValue:r.value,"onUpdate:modelValue":o[2]||=e=>r.value=e,class:`file-grid-alt`,width:`660px`},{footer:(0,e.withCtx)(()=>[(0,e.createVNode)(h,{onClick:o[1]||=e=>r.value=!1},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(Mr).global.t(`fileUpload.cancel`)),1)]),_:1}),(0,e.createVNode)(h,{type:`primary`,onClick:l},{default:(0,e.withCtx)(()=>[(0,e.createTextVNode)((0,e.toDisplayString)((0,e.unref)(Mr).global.t(`fileUpload.confirm`)),1)]),_:1})]),default:(0,e.withCtx)(()=>[(0,e.createVNode)(m,{gutter:20},{default:(0,e.withCtx)(()=>[(0,e.createVNode)(f,{span:5},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`div`,tIe,[(0,e.createElementVNode)(`img`,{src:i.value.url,alt:i.value.title},null,8,nIe)])]),_:1}),(0,e.createVNode)(f,{span:17},{default:(0,e.withCtx)(()=>[(0,e.createElementVNode)(`p`,null,(0,e.toDisplayString)((0,e.unref)(Mr).global.t(`fileUpload.alt.label`)),1),(0,e.createVNode)(p,{modelValue:i.value.title,"onUpdate:modelValue":o[0]||=e=>i.value.title=e,placeholder:(0,e.unref)(Mr).global.t(`fileUpload.alt.placeholder`)},null,8,[`modelValue`,`placeholder`]),(0,e.createElementVNode)(`p`,rIe,(0,e.toDisplayString)((0,e.unref)(Mr).global.t(`fileUpload.alt.subheading`)),1)]),_:1})]),_:1})]),_:1},8,[`title`,`modelValue`])],4)}}}),aIe=[g,T,ge,mne,gne,vne,Pr,y,AOe,HOe,GOe,JOe,ZOe,eke,rke,oke,lke,fke,hke,gke,ZPe,{install(e){e.component(`OgaImageUpload`,iIe)}},tFe];return{install(e){aIe.map(t=>e.use(t))}}});